| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Set | |
| public Map | fieldInfo()
Return a map from field names to FieldInfo instances for every field defined in this class (not including super types). |
| public MethodInfo | findConstructorInfo(Signature sig)
Find the MethodInfo (if any) for a Constructor with the given Signature in this ClassInfo. |
| public FieldInfo | |
| public MethodInfo | findMethodInfo(String name, Signature sig)
Find the method (if any) with the given name and Signature in this ClassInfo, or in any superType of this ClassInfo. |
| public List | |
| public boolean | |
| public boolean | |
| public Map | |
| public int | |
| public String | |
| public String | pkgName()
Return the fully qualified package name containing the class represented by this ClassInfo. |
| public Type | |
| public Type |
| className | back to summary |
|---|---|
| public String className() Return the class name of the class represented by this ClassInfo relative to pkgName(). | |
| constructorInfo | back to summary |
|---|---|
| public Set | |
| fieldInfo | back to summary |
|---|---|
| public Map Return a map from field names to FieldInfo instances for every field defined in this class (not including super types). | |
| findConstructorInfo | back to summary |
|---|---|
| public MethodInfo findConstructorInfo(Signature sig) Find the MethodInfo (if any) for a Constructor with the given Signature in this ClassInfo. | |
| findFieldInfo | back to summary |
|---|---|
| public FieldInfo findFieldInfo(String name) Find a field with the given name if one exists. Searches this class and all super classes. | |
| findMethodInfo | back to summary |
|---|---|
| public MethodInfo findMethodInfo(String name, Signature sig) Find the method (if any) with the given name and Signature in this ClassInfo, or in any superType of this ClassInfo. | |
| impls | back to summary |
|---|---|
| public List Return the list of Types of interfaces implemented by this class. May be empty, but never null. | |
| isInterface | back to summary |
|---|---|
| public boolean isInterface() Return true iff this ClassInfo is an interface. | |
| isSubclass | back to summary |
|---|---|
| public boolean isSubclass(ClassInfo info) Return true iff this is a subclass or subinterface of info. | |
| methodInfoByName | back to summary |
|---|---|
| public Map Return methodInfo for all methods defined on this class. This does not include inherited methods. Here we return a map from method name to the set of MethodInfo instances for all methods with the same method name. This form is useful for handling method overload resolution. | |
| modifiers | back to summary |
|---|---|
| public int modifiers() Return the modifiers on this class as specified in java.lang.reflect.Modifier. | |
| name | back to summary |
|---|---|
| public String name() Return the fully qualified class name for this ClassInfo. | |
| pkgName | back to summary |
|---|---|
| public String pkgName() Return the fully qualified package name containing the class represented by this ClassInfo. | |
| superType | back to summary |
|---|---|
| public Type superType() Return the Type of the supertype of this class. | |
| thisType | back to summary |
|---|---|
| public Type thisType() Return the Type of the class represented by this ClassInfo. | |