org.codehaus.aspectwerkz.reflect.impl.java
Class JavaFieldInfo

java.lang.Object
  extended by org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
      extended by org.codehaus.aspectwerkz.reflect.impl.java.JavaFieldInfo
All Implemented Interfaces:
FieldInfo, MemberInfo, ReflectionInfo

public class JavaFieldInfo
extends JavaMemberInfo
implements FieldInfo

Implementation of the FieldInfo interface for java.lang.reflect.*.

Author:
Jonas BonŽr

Field Summary
 
Fields inherited from class org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
m_annotations, m_classInfoRepository, m_declaringType, m_member
 
Method Summary
 boolean equals(Object o)
           
 List getAnnotations()
          Returns the annotations.
static FieldInfo getFieldInfo(Field field)
          Returns the field info for the field specified.
 String getSignature()
          Returns the signature for the element.
 ClassInfo getType()
          Returns the type.
 int hashCode()
           
 
Methods inherited from class org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
getDeclaringType, getModifiers, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.aspectwerkz.reflect.MemberInfo
getDeclaringType
 
Methods inherited from interface org.codehaus.aspectwerkz.reflect.ReflectionInfo
getModifiers, getName
 

Method Detail

getFieldInfo

public static FieldInfo getFieldInfo(Field field)
Returns the field info for the field specified.

Parameters:
field - the field
Returns:
the field info

getSignature

public String getSignature()
Returns the signature for the element.

Specified by:
getSignature in interface ReflectionInfo
Returns:
the signature for the element

getAnnotations

public List getAnnotations()
Returns the annotations.

Specified by:
getAnnotations in interface ReflectionInfo
Returns:
the annotations

getType

public ClassInfo getType()
Returns the type.

Specified by:
getType in interface FieldInfo
Returns:
the type

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.