| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| private void | |
| private boolean | |
| private void | |
| public void | checkCompatibility(Type targetType, String ident, List<Expression> args)
Check whether the list of expression in args is statically compatible with this Signature. |
| public void | checkConstructorCompatibility(Type targetType, List<Expression> args)
Check whether the list of expression in args is statically compatible with this Signature. |
| public void | checkStaticCompatibility(Type targetType, String ident, List<Expression> args)
Check whether the list of expression in args is statically compatible with this Signature. |
| public String | |
| public String | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public static Signature | |
| public static Signature | |
| public static Signature | |
| public static Signature | |
| private static Signature | |
| private static Signature | |
| public static Signature | |
| public static Signature | |
| private static String | |
| private static ClassInfo | |
| private static Set | |
| pack-priv static List | |
| private static String | |
| private static Set | |
| private static String | |
| public int | |
| public static Signature | |
| private static MethodInfo | returnCompatibleMethod(Type type, String ident, List<Type> argTypes, Signature.
|
| public Type | |
| public String | |
| private static String | |
| public String |
| rtype | back to summary |
|---|---|
| private Type rtype | |
| signature | back to summary |
|---|---|
| private String signature | |
| types | back to summary |
|---|---|
| private List<Type> types | |
| Signature | back to summary |
|---|---|
| private Signature(Type rtype, List<Type> types) | |
| argTypes | back to summary |
|---|---|
| public List | |
| checkArgTypeCompatibility | back to summary |
|---|---|
| private void checkArgTypeCompatibility(List<Type> atypes) | |
| checkArgTypeCompatibility | back to summary |
|---|---|
| private boolean checkArgTypeCompatibility(List<Type> atypes, boolean throwsException) | |
| checkCompatibility | back to summary |
|---|---|
| private void checkCompatibility(Type targetType, String ident, List<Expression> args, boolean isStaticMethod) | |
| checkCompatibility | back to summary |
|---|---|
| public void checkCompatibility(Type targetType, String ident, List<Expression> args) Check whether the list of expression in args is statically compatible with this Signature. This means that args and this.types have the same length, and the type of each expression in args is assignment compatible with the corresponding types in this.types. Also, the targetType must actually contain a non-static method of the appropriate signature and name.
| |
| checkConstructorCompatibility | back to summary |
|---|---|
| public void checkConstructorCompatibility(Type targetType, List<Expression> args) Check whether the list of expression in args is statically compatible with this Signature. This means that args and this.types have the same length, and the type of each expression in args is assignment compatible with the corresponding types in this.types. Also, the targetType must actually contain a constructor of the appropriate signature and name.
| |
| checkStaticCompatibility | back to summary |
|---|---|
| public void checkStaticCompatibility(Type targetType, String ident, List<Expression> args) Check whether the list of expression in args is statically compatible with this Signature. This means that args and this.types have the same length, and the type of each expression in args is assignment compatible with the corresponding types in this.types. Also, the targetType must actually contain a static method of the appropriate signature and name.
| |
| displayAsMethod | back to summary |
|---|---|
| public String displayAsMethod() | |
| displayAsMethod | back to summary |
|---|---|
| public String displayAsMethod(String methodName) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| fromCall | back to summary |
|---|---|
| public static Signature fromCall(Type type, String ident, List<Expression> exprs) | |
| fromCallUsingTypes | back to summary |
|---|---|
| public static Signature fromCallUsingTypes(Type type, String ident, List<Type> types) | |
| fromConstructor | back to summary |
|---|---|
| public static Signature fromConstructor(Type type, List<Expression> exprs) | |
| fromConstructorUsingTypes | back to summary |
|---|---|
| public static Signature fromConstructorUsingTypes(Type type, List<Type> types) | |
| fromMethodCall | back to summary |
|---|---|
| private static Signature fromMethodCall(Type type, String ident, List<Expression> exprs, boolean isStaticCall) | |
| fromMethodCallUsingTypes | back to summary |
|---|---|
| private static Signature fromMethodCallUsingTypes(Type type, String ident, List<Type> types, boolean isStaticCall) | |
| fromStaticCall | back to summary |
|---|---|
| public static Signature fromStaticCall(Type type, String ident, List<Expression> exprs) | |
| fromStaticCallUsingTypes | back to summary |
|---|---|
| public static Signature fromStaticCallUsingTypes(Type type, String ident, List<Type> types) | |
| getCallTypeString | back to summary |
|---|---|
| private static String getCallTypeString(Signature. | |
| getClassInfo | back to summary |
|---|---|
| private static ClassInfo getClassInfo(Type type) | |
| getCompatibleMethods | back to summary |
|---|---|
| private static Set | |
| getExprTypes | back to summary |
|---|---|
| pack-priv static List | |
| getMethodListString | back to summary |
|---|---|
| private static String getMethodListString(Set<MethodInfo> mlist) | |
| getMethods | back to summary |
|---|---|
| private static Set | |
| getTypeListString | back to summary |
|---|---|
| private static String getTypeListString(List<Type> types) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| make | back to summary |
|---|---|
| public static Signature make(Type rtype, List<Type> types) | |
| returnCompatibleMethod | back to summary |
|---|---|
| private static MethodInfo returnCompatibleMethod(Type type, String ident, List<Type> argTypes, Signature. | |
| returnType | back to summary |
|---|---|
| public Type returnType() | |
| signature | back to summary |
|---|---|
| public String signature() | |
| sprintf | back to summary |
|---|---|
| private static String sprintf(String format, Object... args) | |
| 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- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Signature. | |
| public static final Signature. | |
| public static final Signature. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Signature. | |
| public static Signature. |
| CONSTRUCTOR | back to summary |
|---|---|
| public static final Signature. | |
| NON_STATIC | back to summary |
|---|---|
| public static final Signature. | |
| STATIC | back to summary |
|---|---|
| public static final Signature. | |
| CallType | back to summary |
|---|---|
| private CallType() | |
| valueOf | back to summary |
|---|---|
| public static Signature. | |
| values | back to summary |
|---|---|
| public static Signature. | |