public class FieldType extends Object implements DependencyHolder
Modifier and Type | Method and Description |
---|---|
void |
addDependentClassNames(Set<String> classNames) |
int |
getArrayDimensions() |
String |
getDeclaration() |
int |
getDescriptorLength() |
String |
getObjectTypeClassname() |
Class<?> |
getPrimitiveType() |
boolean |
isArrayType() |
static boolean |
isFieldDescriptor(String descriptor) |
boolean |
isObjectType() |
boolean |
isPrimitiveType() |
boolean |
isVoidType() |
String |
toString() |
public FieldType(String descriptor)
public int getDescriptorLength()
public boolean isArrayType()
public boolean isPrimitiveType()
public boolean isVoidType()
public boolean isObjectType()
public String getDeclaration()
public final void addDependentClassNames(Set<String> classNames)
addDependentClassNames
in interface DependencyHolder
public static boolean isFieldDescriptor(String descriptor)
public String getObjectTypeClassname()
public int getArrayDimensions()
public Class<?> getPrimitiveType()
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.