public class FieldModelImpl extends AnnotatedElementImpl implements FieldModel
Member.Type| Constructor and Description |
|---|
FieldModelImpl(String name,
TypeProxy typeProxy,
ExtensibleType declaringType) |
| Modifier and Type | Method and Description |
|---|---|
ExtensibleType |
getDeclaringType()
Returns the declaring type of this field, which is a class.
|
String |
getDeclaringTypeName()
Returns the declaring type name of this field, which is a class.
|
String |
getFormalType()
Returns the formal type name
|
Member.Type |
getMemberType()
returns the type of the member
|
List<ParameterizedType> |
getParameterizedTypes() |
ExtensibleType |
getType()
Returns the declared type of the field
|
String |
getTypeName()
Returns the declared type name of the field
|
TypeProxy<?> |
getTypeProxy() |
boolean |
isArray() |
boolean |
isFormalType() |
boolean |
isTransient() |
protected void |
print(StringBuffer sb) |
void |
setAccess(int access) |
void |
setFormalType(String formalType) |
void |
setType(org.objectweb.asm.Type type) |
void |
setTypeProxy(TypeProxy typeProxy) |
getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getName, shortDescpublic FieldModelImpl(String name, TypeProxy typeProxy, ExtensibleType declaringType)
public Member.Type getMemberType()
MembergetMemberType in interface Memberpublic ExtensibleType getDeclaringType()
FieldModelgetDeclaringType in interface FieldModelgetDeclaringType in interface Memberpublic String getDeclaringTypeName()
FieldModelgetDeclaringTypeName in interface FieldModelpublic ExtensibleType getType()
FieldModelgetType in interface FieldModelgetType in interface ParameterizedTypepublic String getTypeName()
FieldModelgetTypeName in interface FieldModelgetTypeName in interface ParameterizedTypepublic String getFormalType()
ParameterizedTypegetFormalType in interface ParameterizedTypepublic void setFormalType(String formalType)
public TypeProxy<?> getTypeProxy()
public void setAccess(int access)
public void setTypeProxy(TypeProxy typeProxy)
public void setType(org.objectweb.asm.Type type)
protected void print(StringBuffer sb)
print in class AnnotatedElementImplpublic List<ParameterizedType> getParameterizedTypes()
getParameterizedTypes in interface ParameterizedTypepublic boolean isFormalType()
isFormalType in interface ParameterizedTypepublic boolean isTransient()
isTransient in interface FieldModelpublic boolean isArray()
isArray in interface ParameterizedTypeCopyright © 2009–2022 Oracle Corporation. All rights reserved.