net.sf.retrotranslator.runtime.impl
Class FieldDescriptor
java.lang.Object
net.sf.retrotranslator.runtime.impl.EmptyVisitor
net.sf.retrotranslator.runtime.impl.AnnotatedElementDescriptor
net.sf.retrotranslator.runtime.impl.FieldDescriptor
- All Implemented Interfaces:
- AnnotationVisitor, ClassVisitor, FieldVisitor, MethodVisitor, SignatureVisitor, MemberDescriptor
public class FieldDescriptor
- extends AnnotatedElementDescriptor
- implements MemberDescriptor
- Author:
- Taras Puchko
Methods inherited from class net.sf.retrotranslator.runtime.impl.AnnotatedElementDescriptor |
createAnnotations, createType, createTypes, getAnnotation, getAnnotations, getClassByInternalName, getClassByType, getDeclaredAnnotations, getLazyList, getLazyType, isAccess, isAnnotationPresent, resolveValue, visitAnnotation |
Methods inherited from class net.sf.retrotranslator.runtime.impl.EmptyVisitor |
visit, visit, visitAnnotation, visitAnnotationDefault, visitArray, visitArrayType, visitAttribute, visitBaseType, visitClassBound, visitClassType, visitCode, visitEnd, visitEnum, visitExceptionType, visitField, visitFieldInsn, visitFormalTypeParameter, visitIincInsn, visitInnerClass, visitInnerClassType, visitInsn, visitInterface, visitInterfaceBound, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitParameterType, visitReturnType, visitSource, visitSuperclass, visitTableSwitchInsn, visitTryCatchBlock, visitTypeArgument, visitTypeArgument, visitTypeInsn, visitTypeVariable, visitVarInsn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
desc
private java.lang.String desc
classDescriptor
private ClassDescriptor classDescriptor
typeDescriptor
private TypeDescriptor typeDescriptor
FieldDescriptor
public FieldDescriptor(ClassDescriptor classDescriptor,
int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature)
FieldDescriptor
public FieldDescriptor(ClassDescriptor classDescriptor,
java.lang.reflect.Field field)
getInstance
public static FieldDescriptor getInstance(java.lang.reflect.Field field)
getName
public java.lang.String getName()
- Specified by:
getName
in interface MemberDescriptor
getDesc
public java.lang.String getDesc()
- Specified by:
getDesc
in interface MemberDescriptor
getGenericType
public java.lang.reflect.Type getGenericType()
getClassDescriptor
public ClassDescriptor getClassDescriptor()
- Specified by:
getClassDescriptor
in class AnnotatedElementDescriptor
findTypeVariable
protected java.lang.reflect.TypeVariable findTypeVariable(java.lang.String name)
- Specified by:
findTypeVariable
in class AnnotatedElementDescriptor
createAnnotations
protected Annotation_[] createAnnotations(Annotation_[] declaredAnnotations)
- Specified by:
createAnnotations
in class AnnotatedElementDescriptor