| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private String | |
| private boolean | |
| private boolean | |
| private Text | |
| private Doc | |
| private boolean | |
| private boolean | |
| private String | |
| private Set | |
| private List | |
| private Text | |
| private TypeInfo | |
| private boolean | |
| private List | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | MethodInfo(Set<ClassTypeInfo> ownerTypes, String name, TypeInfo returnType, Text returnDescription, boolean fluent, boolean cacheReturn, List<ParamInfo> params, String comment, Doc doc, boolean staticMethod, boolean defaultMethod, List<TypeParamInfo.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | compareTo(MethodInfo
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| private static boolean | |
| public MethodInfo | |
| public TypeInfo | |
| public String | |
| public Text | |
| public Doc | |
| public MethodKind | |
| public String | |
| public String | |
| public Set | |
| public ParamInfo | |
| public List | |
| public Text | |
| public TypeInfo | |
| public Signature | Returns: the method signatureReturns the method signature, the returned object is freely modifiable. |
| public List | |
| public boolean | |
| public boolean | Returns: whether the method is annotated withio.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true when this method is owned by theowner argumentthe tested type owner)Return true if the provided type is the sole owner of this method, i.e this method is only declared by the provided type. |
| public boolean | |
| public boolean | |
| public void | |
| public ParamInfo | Returns: the matching method parameter or nullthe type variable to check typeVar)Resolve the method parameter that is of kind |
| public TypeArgExpression | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public MethodInfo | |
| public String |
| cacheReturn | back to summary |
|---|---|
| private boolean cacheReturn | |
| comment | back to summary |
|---|---|
| private String comment | |
| defaultMethod | back to summary |
|---|---|
| private boolean defaultMethod | |
| deprecated | back to summary |
|---|---|
| private boolean deprecated | |
| deprecatedDesc | back to summary |
|---|---|
| private Text deprecatedDesc | |
| doc | back to summary |
|---|---|
| private Doc doc | |
| fluent | back to summary |
|---|---|
| private boolean fluent | |
| methodOverride | back to summary |
|---|---|
| private boolean methodOverride | |
| name | back to summary |
|---|---|
| private String name | |
| ownerTypes | back to summary |
|---|---|
| private Set<ClassTypeInfo> ownerTypes | |
| params | back to summary |
|---|---|
| private List<ParamInfo> params | |
| returnDescription | back to summary |
|---|---|
| private Text returnDescription | |
| returnType | back to summary |
|---|---|
| private TypeInfo returnType | |
| staticMethod | back to summary |
|---|---|
| private boolean staticMethod | |
| typeParams | back to summary |
|---|---|
| private List<TypeParamInfo. | |
| useFutures | back to summary |
|---|---|
| private boolean useFutures | |
| MethodInfo | back to summary |
|---|---|
| public MethodInfo(Set<ClassTypeInfo> ownerTypes, String name, TypeInfo returnType, Text returnDescription, boolean fluent, boolean cacheReturn, List<ParamInfo> params, String comment, Doc doc, boolean staticMethod, boolean defaultMethod, List<TypeParamInfo. | |
| collectImports | back to summary |
|---|---|
| public void collectImports(Collection<ClassTypeInfo> imports) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(MethodInfo o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| containsAnyJavaType | back to summary |
|---|---|
| private static boolean containsAnyJavaType(TypeInfo type) | |
| copy | back to summary |
|---|---|
public MethodInfo copy()
| |
| getCallbackType | back to summary |
|---|---|
public TypeInfo getCallbackType()
| |
| getComment | back to summary |
|---|---|
| public String getComment() | |
| getDeprecatedDesc | back to summary |
|---|---|
public Text getDeprecatedDesc()
| |
| getDoc | back to summary |
|---|---|
| public Doc getDoc() | |
| getKind | back to summary |
|---|---|
| public MethodKind getKind() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getName | back to summary |
|---|---|
| public String getName(Case _case) | |
| getOwnerTypes | back to summary |
|---|---|
| public Set | |
| getParam | back to summary |
|---|---|
| public ParamInfo getParam(int index) | |
| getParams | back to summary |
|---|---|
| public List | |
| getReturnDescription | back to summary |
|---|---|
| public Text getReturnDescription() | |
| getReturnType | back to summary |
|---|---|
| public TypeInfo getReturnType() | |
| getSignature | back to summary |
|---|---|
| public Signature getSignature() Returns the method signature, the returned object is freely modifiable.
| |
| getTypeParams | back to summary |
|---|---|
| public List | |
| isCacheReturn | back to summary |
|---|---|
| public boolean isCacheReturn() | |
| isContainingAnyJavaType | back to summary |
|---|---|
public boolean isContainingAnyJavaType()
| |
| isDefaultMethod | back to summary |
|---|---|
| public boolean isDefaultMethod() | |
| isDeprecated | back to summary |
|---|---|
public boolean isDeprecated()
| |
| isFluent | back to summary |
|---|---|
| public boolean isFluent() | |
| isMethodOverride | back to summary |
|---|---|
| public boolean isMethodOverride() | |
| isNullableReturn | back to summary |
|---|---|
public boolean isNullableReturn()
| |
| isOwnedBy | back to summary |
|---|---|
| public boolean isOwnedBy(ClassTypeInfo owner) Return true if the provided type is the sole owner of this method, i.e this method is only declared by the provided type.
| |
| isStaticMethod | back to summary |
|---|---|
| public boolean isStaticMethod() | |
| isUseFutures | back to summary |
|---|---|
| public boolean isUseFutures() | |
| mergeTypeParams | back to summary |
|---|---|
| public void mergeTypeParams(List<TypeParamInfo. | |
| resolveClassTypeParam | back to summary |
|---|---|
| public ParamInfo resolveClassTypeParam(TypeVariableInfo typeVar) Resolve the method parameter that is of kind
| |
| resolveTypeArg | back to summary |
|---|---|
| public TypeArgExpression resolveTypeArg(TypeVariableInfo typeVar) | |
| setCacheReturn | back to summary |
|---|---|
| public MethodInfo setCacheReturn(boolean cacheReturn) | |
| setComment | back to summary |
|---|---|
| public MethodInfo setComment(String comment) | |
| setDefaultMethod | back to summary |
|---|---|
| public MethodInfo setDefaultMethod(boolean defaultMethod) | |
| setDeprecated | back to summary |
|---|---|
| public MethodInfo setDeprecated(boolean deprecated) | |
| setDeprecatedDesc | back to summary |
|---|---|
| public MethodInfo setDeprecatedDesc(Text deprecatedDesc) | |
| setDoc | back to summary |
|---|---|
| public MethodInfo setDoc(Doc doc) | |
| setFluent | back to summary |
|---|---|
| public MethodInfo setFluent(boolean fluent) | |
| setName | back to summary |
|---|---|
| public MethodInfo setName(String name) | |
| setOwnerTypes | back to summary |
|---|---|
| public MethodInfo setOwnerTypes(Set<ClassTypeInfo> ownerTypes) | |
| setParams | back to summary |
|---|---|
| public MethodInfo setParams(List<ParamInfo> params) | |
| setReturnDescription | back to summary |
|---|---|
| public MethodInfo setReturnDescription(Text returnDescription) | |
| setReturnType | back to summary |
|---|---|
| public MethodInfo setReturnType(TypeInfo returnType) | |
| setStaticMethod | back to summary |
|---|---|
| public MethodInfo setStaticMethod(boolean staticMethod) | |
| setTypeParams | back to summary |
|---|---|
| public MethodInfo setTypeParams(List<TypeParamInfo. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |