| Modifier and Type | Field and Description |
|---|---|
protected ClassPath |
classPath |
protected java.lang.String |
type |
| Constructor and Description |
|---|
PrimitiveProto(ClassPath classPath,
java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
int |
findMethodIndexInVtable(MethodReference method) |
ClassPath |
getClassPath() |
TypeProto |
getCommonSuperclass(TypeProto other) |
FieldReference |
getFieldByOffset(int fieldOffset) |
Method |
getMethodByVtableIndex(int vtableIndex) |
java.lang.String |
getSuperclass() |
java.lang.String |
getType() |
boolean |
implementsInterface(java.lang.String iface) |
boolean |
isInterface() |
java.lang.String |
toString() |
protected final ClassPath classPath
protected final java.lang.String type
public PrimitiveProto(@Nonnull
ClassPath classPath,
@Nonnull
java.lang.String type)
public java.lang.String toString()
toString in class java.lang.Object@Nonnull public ClassPath getClassPath()
getClassPath in interface TypeProtopublic boolean isInterface()
isInterface in interface TypeProtopublic boolean implementsInterface(@Nonnull
java.lang.String iface)
implementsInterface in interface TypeProto@Nullable public java.lang.String getSuperclass()
getSuperclass in interface TypeProto@Nonnull public TypeProto getCommonSuperclass(@Nonnull TypeProto other)
getCommonSuperclass in interface TypeProto@Nullable public FieldReference getFieldByOffset(int fieldOffset)
getFieldByOffset in interface TypeProto@Nullable public Method getMethodByVtableIndex(int vtableIndex)
getMethodByVtableIndex in interface TypeProtopublic int findMethodIndexInVtable(@Nonnull
MethodReference method)
findMethodIndexInVtable in interface TypeProto