org.codehaus.aspectwerkz.reflect.impl.javassist
Class JavassistFieldInfo
java.lang.Object
org.codehaus.aspectwerkz.reflect.impl.javassist.JavassistMemberInfo
org.codehaus.aspectwerkz.reflect.impl.javassist.JavassistFieldInfo
- All Implemented Interfaces:
- FieldInfo, MemberInfo, ReflectionInfo
- public class JavassistFieldInfo
- extends JavassistMemberInfo
- implements FieldInfo
Implementation of the FieldInfo interface for Javassist.
- Author:
- Jonas Bonér
getFieldInfo
public static FieldInfo getFieldInfo(javassist.CtField field,
ClassLoader loader)
- Returns the field info for the field specified.
- Parameters:
field
- the fieldloader
- the class loader
- Returns:
- the field info
calculateHash
public static int calculateHash(javassist.CtField field)
- Calculates the field hash.
- Parameters:
field
-
- Returns:
- the hash
getAnnotations
public List getAnnotations()
- Returns the attributes.
- Specified by:
getAnnotations
in interface ReflectionInfo
- Returns:
- the attributes
getType
public ClassInfo getType()
- Returns the field type.
- Specified by:
getType
in interface FieldInfo
- Returns:
- the field type
equals
public boolean equals(Object o)
hashCode
public int hashCode()
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.