public class InjectedMethod extends ModelMethod
ModelAnalyzer#injectViewDataBinding(String, Map, Map, java.util.Map)| Constructor and Description |
|---|
InjectedMethod(InjectedClass containingClass,
boolean isStatic,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> imports,
java.lang.String returnType,
java.lang.String... parameters) |
| Modifier and Type | Method and Description |
|---|---|
ModelClass |
getDeclaringClass() |
java.lang.String |
getJniDescription()
Returns the JNI description of the method which can be used to lookup it in SDK.
|
int |
getMinApi()
Since when this method is available.
|
java.lang.String |
getName() |
ModelClass[] |
getParameterTypes() |
ModelClass |
getReturnType(java.util.List<ModelClass> args) |
boolean |
isAbstract() |
boolean |
isBindable() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isVarArgs() |
boolean |
isVoid() |
java.lang.String |
toString() |
acceptsArguments, getBindableAnnotation, getImplicitConversionLevel, getParameterAt, getReceiverType, getReturnType, isBetterArgMatchThan, isBoxingConversion, isImplicitConversionpublic InjectedMethod(InjectedClass containingClass, boolean isStatic, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> imports, java.lang.String returnType, java.lang.String... parameters)
public ModelClass getDeclaringClass()
getDeclaringClass in class ModelMethodpublic ModelClass[] getParameterTypes()
getParameterTypes in class ModelMethodpublic java.lang.String getName()
getName in class ModelMethodpublic ModelClass getReturnType(java.util.List<ModelClass> args)
getReturnType in class ModelMethodpublic boolean isVoid()
isVoid in class ModelMethodpublic boolean isPublic()
isPublic in class ModelMethodpublic boolean isProtected()
isProtected in class ModelMethodpublic boolean isStatic()
isStatic in class ModelMethodpublic boolean isAbstract()
isAbstract in class ModelMethodpublic boolean isBindable()
isBindable in class ModelMethodBindable annotation.public int getMinApi()
ModelMethodgetMinApi in class ModelMethodpublic java.lang.String getJniDescription()
ModelMethodgetJniDescription in class ModelMethodTypeUtilpublic boolean isVarArgs()
isVarArgs in class ModelMethodpublic java.lang.String toString()
toString in class java.lang.Object