Package org.exolab.javasource
Class JField
- java.lang.Object
-
- org.exolab.javasource.JAnnotatedElementHelper
-
- org.exolab.javasource.AbstractJField
-
- org.exolab.javasource.JField
-
- All Implemented Interfaces:
JAnnotatedElement
,JMember
public final class JField extends AbstractJField
A class which holds information about a field. Modeled closely after the Java Reflection API. This class is part of package which is used to create source code in memory.- Version:
- $Revision: 8130 $ $Date: 2005-02-26 17:30:28 -0700 (Sat, 26 Feb 2005) $
- Author:
- Keith Visco
-
-
Method Summary
-
Methods inherited from class org.exolab.javasource.AbstractJField
getComment, getDeclaringClass, getInitString, getModifiers, getName, getType, isDateTime, setComment, setComment, setDateTime, setDeclaringClass, setInitString, setModifiers, setName, toString
-
Methods inherited from class org.exolab.javasource.JAnnotatedElementHelper
addAnnotation, getAnnotation, getAnnotations, hasAnnotations, isAnnotationPresent, printAnnotations, removeAnnotation
-
-
-
-
Constructor Detail
-
JField
public JField(JType type, java.lang.String name)
Creates a new JField.- Parameters:
type
- JType of this new field.name
- Name of this new field.
-
-