public class BundleHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
methodSuffixNameByTypeName |
Constructor and Description |
---|
BundleHelper(AnnotationHelper helper,
javax.lang.model.type.TypeMirror element) |
Modifier and Type | Method and Description |
---|---|
com.sun.codemodel.JExpression |
getExpressionToRestoreFromBundle(com.sun.codemodel.JClass variableClass,
com.sun.codemodel.JExpression bundle,
com.sun.codemodel.JExpression extraKey,
com.sun.codemodel.JMethod method) |
com.sun.codemodel.JExpression |
getExpressionToRestoreFromIntentOrBundle(com.sun.codemodel.JClass variableClass,
com.sun.codemodel.JExpression intent,
com.sun.codemodel.JExpression extras,
com.sun.codemodel.JExpression extraKey,
com.sun.codemodel.JMethod method) |
java.lang.String |
getMethodNameToRestore() |
java.lang.String |
getMethodNameToSave() |
boolean |
restoreCallNeedCastStatement() |
boolean |
restoreCallNeedsSuppressWarning() |
public static final java.util.Map<java.lang.String,java.lang.String> methodSuffixNameByTypeName
public BundleHelper(AnnotationHelper helper, javax.lang.model.type.TypeMirror element)
public boolean restoreCallNeedCastStatement()
public boolean restoreCallNeedsSuppressWarning()
public java.lang.String getMethodNameToSave()
public java.lang.String getMethodNameToRestore()
public com.sun.codemodel.JExpression getExpressionToRestoreFromIntentOrBundle(com.sun.codemodel.JClass variableClass, com.sun.codemodel.JExpression intent, com.sun.codemodel.JExpression extras, com.sun.codemodel.JExpression extraKey, com.sun.codemodel.JMethod method)
public com.sun.codemodel.JExpression getExpressionToRestoreFromBundle(com.sun.codemodel.JClass variableClass, com.sun.codemodel.JExpression bundle, com.sun.codemodel.JExpression extraKey, com.sun.codemodel.JMethod method)
Copyright © 2010-2014. All Rights Reserved.