|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.javasource.JAnnotatedElementHelper
org.exolab.javasource.AbstractJField
org.exolab.javasource.JField
public final class JField
A class which holds information about a field. Modelled closely after the Java Reflection API. This class is part of package which is used to create source code in memory.
Constructor Summary | |
---|---|
JField(JType type,
java.lang.String name)
Creates a new JField. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JField(JType type, java.lang.String name)
type
- JType of this new field.name
- Name of this new field.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |