- All Known Implementing Classes:
Abs.Type
,Acos.Type
,AdditionalArrange.Type
,AlgorithmSwitchShader.Type
,AllFilter.Type
,AmbientLight.Type
,Arc.Type
,ArcType
,AreaLight.Type
,ArrangeLOD.Type
,Arrow.Type
,Asin.Type
,ASMType
,Atan.Type
,BernoulliProbability.Type
,BetaprimeProbability.Type
,BetaProbability.Type
,BezierCurve.Type
,BezierSurface.Type
,BinomialProbability.Type
,BlackbodySPD.Type
,BlackbodySpectralCurve.Type
,BoundedType
,BSplineCurveImpl.Type
,BSplineOfVertices.Type
,BSplineSurfaceImpl.Type
,Camera.Type
,CauchyProbability.Type
,CClass
,Ceil.Type
,Chain.Type
,ChannelSPD.Type
,ChisquareProbability.Type
,CIENormSPD.Type
,Circle.Type
,CircleGraphLayout.Type
,Circular.Type
,ClassAdapter
,CompilationUnitScope
,ComponentTransform.Type
,Connection.Type
,ConstantSPD.Type
,ConstantSpectralCurve.Type
,Cos.Type
,Cosh.Type
,Cubic.Type
,Curve.Type
,CurveRef.Type
,CurveSequence.Type
,CustomFunction.Type
,CustomGraphDescriptor.Type
,DartThrowing.Type
,DatasetRef.Type
,DavidsonHarelLayout.Type
,DefaultView3DEventFactory.Type
,DirectionalLight.Type
,E.Type
,EadesLayout.Type
,EdgeBasedLayout.Type
,EdgeBasedLayout2.Type
,EdgeBits.Type
,Ellipse.Type
,EllipseType
,EmptyEventFactory.Type
,EmptyViewEventFactory.Type
,EnergyModelLayout.Type
,EnumerationType
,ErlangProbability.Type
,Exp.Type
,Exp2.Type
,Expm1.Type
,ExtrudedSurface.Type
,FieldBase
,FieldDecorator
,FileRef.Type
,FilterDescriptor.Type
,FixedImageAdapter.Type
,Floor.Type
,FluxLightModel.Type
,FluxLightModelTracer.Type
,FontAdapter.Type
,ForceBasedLayout.Type
,FProbability.Type
,FruchtermanReingoldLayout.Type
,Function.Type
,FunctionRef.Type
,GammaProbability.Type
,GeneralPurposeLayout.Type
,GeometricArrange.Type
,GeometricProbability.Type
,GraphDescriptor.Type
,GraphObjectRef.Type
,Graytone.Type
,GRSMesh.Type
,HalftoningArrange.Type
,HeightField.Type
,HeightFieldMapping.Type
,Helix.Type
,Hexagon.Type
,HighlightFilterDescriptor.Type
,HornLOD.Type
,HydraLOD.Type
,Id.Type
,ImageAdapter.Type
,ImageHeightField.Type
,ImageRef.Type
,IndirectField
,InheritedField
,InheritedMethod
,IntersectionType
,InvgammaProbability.Type
,IOR.Type
,IORShader.Type
,IrregularSpectralCurve.Type
,IsoCurve.Type
,ItemReference.Type
,Kachelung.Type
,Layout.Type
,LazyType
,LensProjection.Type
,LightBase.Type
,LightDistribution.Type
,LightDistributionRef.Type
,LightDistributionResource.Type
,LightModel.Type
,LightModelD.Type
,Local
,LocationParameterBase.Type
,Log.Type
,Log10.Type
,LogisticProbability.Type
,Lognormal2Probability.Type
,LognormalProbability.Type
,ManageableType
,ManageableType.ArrayComponent
,ManageableType.Field
,MaterialRef.Type
,Matrix3dType
,Matrix3fType
,Matrix4dType
,Matrix4fType
,MemberBase
,MemberDecorator
,MetaGraphDescriptor.Type
,Navigator2DFactory.Type
,Navigator3DFactory.Type
,NegexpProbability.Type
,NetworkHeightField.Type
,Node.NType
,Node.NType.BitField
,Node.NType.Field
,NoHighlightView3DEventFactory.Type
,NoneFilter.Type
,Normal2Probability.Type
,NormalProbability.Type
,ObjectData.Type
,Octagon.Type
,Package
,ParallelProjection.Type
,ParetoProbability.Type
,PascalProbability.Type
,PatternWrapper
,PersistenceField
,PerspectiveProjection.Type
,Phi.Type
,PhiBallLOD.Type
,PhysicalLight.Type
,Pi.Type
,PointCloudView3DEventManager.Type
,PointLight.Type
,PoissonProbability.Type
,ProbabilityArrange.Type
,ProductSurface.Type
,ProfileSweep.Type
,ProjectGraphDescriptor.Type
,Projection.Type
,Rad.Type
,Ramp.Type
,RandomBase.Type
,RandomLayout.Type
,RectangleType
,RectangularHeightFieldMapping.Type
,Reference.Type
,RegularPolygon.Type
,RegularSpectralCurve.Type
,RGBSPD.Type
,RGBSpectralCurve.Type
,Rhombus.Type
,Rnd.Type
,Rndabs.Type
,RoundRectangleType
,RuledSurface.Type
,Scallop.Type
,SCOType
,SCOType.Field
,SelectionEventFactory.Type
,Sequence.Type
,ShaderRef.Type
,ShiftedMethod
,SideSwitchShader.Type
,SimpleEdgeBasedLayout.Type
,Sin.Type
,Sin01.Type
,Sinh.Type
,SkinnedSurface.Type
,SPD.Type
,SPDCurve.Type
,SPDResource.Type
,SpectralLight.Type
,SpectralLightMapNode.Type
,SpectrumRef.Type
,SphericalHeightFieldMapping.Type
,SplineFunction.Type
,SpotLight.Type
,SpringLayout.Type
,Sqr.Type
,Sqrt.Type
,SquareLayout.Type
,StraightLine.Type
,StrokeAdapter.Type
,SubGraphDescriptor.Type
,SubGraphRef.Type
,SubGrid.Type
,SugiyamaLayout.Type
,SurfaceRef.Type
,Sweep.Type
,SweepSequence.Type
,SwitchShader.Type
,SwitchShape.Type
,SwungSurface.Type
,Tan.Type
,Tanh.Type
,ToolEvent2DFactory.Type
,ToolEventFactory.Type
,TopologyGraphDescriptor.Type
,TouchLayout.Type
,Trapezoid.Type
,TreeLayout.Type
,TreeLOD.Type
,Triangle.Type
,Triangle.Type
,TstudentProbability.Type
,Tuple2dType
,Tuple2fType
,Tuple3dType
,Tuple3fType
,Tuple4dType
,Tuple4fType
,TurtleState.Type
,TypeDecorator
,TypeImpl
,UniformProbability.Type
,UniformScale.Type
,VertexGridImpl.Type
,VertexListImpl.Type
,VertexSequence.Type
,VertexSetBase.Type
,View.Type
,View2D.Type
,View2DEventFactory.Type
,View3D.Type
,Voronoi_Lloyd.Type
,WeibullProbability.Type
,XArray
,XClass
,XField
,XMethod
public interface Member
Member
is the superinterface for types, methods, and fields.
It describes the common functionality of these interfaces and defines
a set of int
constants which are combined to encode
the modifiers of the member.- Author:
- Ole Kniemeyer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Modifier forabstract
members.static final int
Mask for the access modifierspublic
,private
, andprotected
.static final int
Modifier for classes which are arrays.static final int
Modifier for bridge methods.static final int
Modifier for fields which are compile-time constants.static final int
Modifier forfinal
members.static final int
Modifier indicating that a type is an interface.static final int
Mask for all modifiers which are valid in the byte-code of classes.static final int
Modifier for classes which are local classes.static final int
Minimal bit mask which is not defined by this interface.static final int
Modifier fornative
methods.static final int
Modifier forprivate
members.static final int
Modifier forprotected
members.static final int
Modifier forpublic
members.static final int
Modifier forstatic
members.static final int
Modifier forstrictfp
members.static final int
Modifier forsynchronized
methods.static final int
Modifier for synthetic members.static final int
Modifier fortransient
fields.static final int
Modifier for variable arity methods.static final int
Modifier forvolatile
fields. -
Method Summary
Modifier and TypeMethodDescriptiongetDeclaredAnnotation
(int index) int
Returns the declaring type of which this is a member.Returns a descriptor for this member.int
Returns the modifiers of this member as a combination of the bit masks which are defined in this interface.getName()
Returns the name of this member.Returns the simple name of this member.
-
Field Details
-
PUBLIC
static final int PUBLICModifier forpublic
members.- See Also:
-
PRIVATE
static final int PRIVATEModifier forprivate
members.- See Also:
-
PROTECTED
static final int PROTECTEDModifier forprotected
members.- See Also:
-
STATIC
static final int STATICModifier forstatic
members.- See Also:
-
FINAL
static final int FINALModifier forfinal
members.- See Also:
-
SYNCHRONIZED
static final int SYNCHRONIZEDModifier forsynchronized
methods.- See Also:
-
VOLATILE
static final int VOLATILEModifier forvolatile
fields.- See Also:
-
TRANSIENT
static final int TRANSIENTModifier fortransient
fields.- See Also:
-
NATIVE
static final int NATIVEModifier fornative
methods.- See Also:
-
INTERFACE
static final int INTERFACEModifier indicating that a type is an interface.- See Also:
-
ABSTRACT
static final int ABSTRACTModifier forabstract
members.- See Also:
-
STRICT
static final int STRICTModifier forstrictfp
members.- See Also:
-
SYNTHETIC
static final int SYNTHETICModifier for synthetic members.- See Also:
-
BRIDGE
static final int BRIDGEModifier for bridge methods.- See Also:
-
VARARGS
static final int VARARGSModifier for variable arity methods.- See Also:
-
ACCESS_MODIFIERS
static final int ACCESS_MODIFIERSMask for the access modifierspublic
,private
, andprotected
.- See Also:
-
JAVA_MODIFIERS
static final int JAVA_MODIFIERSMask for all modifiers which are valid in the byte-code of classes.- See Also:
-
CONSTANT
static final int CONSTANTModifier for fields which are compile-time constants. This modifier is not defined by the Java virtual machine.- See Also:
-
LOCAL_CLASS
static final int LOCAL_CLASSModifier for classes which are local classes. This modifier is not defined by the Java virtual machine.- See Also:
-
ARRAY
static final int ARRAYModifier for classes which are arrays. This modifier is not defined by the Java virtual machine.- See Also:
-
MIN_UNUSED_MODIFIER
static final int MIN_UNUSED_MODIFIERMinimal bit mask which is not defined by this interface.- See Also:
-
-
Method Details
-
getDeclaringType
Type getDeclaringType()Returns the declaring type of which this is a member. May benull
if such a type does not exist.- Returns:
- this member's declaring type
-
getModifiers
int getModifiers()Returns the modifiers of this member as a combination of the bit masks which are defined in this interface.- Returns:
- modifiers of this member
-
getName
String getName()Returns the name of this member. For types, this is the canonical name of the type, e.g,java.lang.Object
,java.util.Map.Entry
. Otherwise, it equalsgetSimpleName()
.- Returns:
- name of the member
-
getSimpleName
String getSimpleName()Returns the simple name of this member. This is the single identifier with which the member is declared in source code, e.g.,Object
,out
,println
.- Returns:
- simple name of the member
-
getDescriptor
String getDescriptor()Returns a descriptor for this member. Descriptors are constructed as follows:- For types, descriptors are defined as for the Java Virtual
Machine. For primitive types these are the single characters
'Z', 'B', 'S', 'C', 'I', 'J', 'F', 'D', 'V'
for
boolean
,byte
,short
,char
,int
,long
,float
,double
,void
. For array types, the descriptor is the character '[' plus the descriptor of its component type, e.g.,[[I
forint[][]
. For non-array reference types, the descriptor is the character 'L', followed by the binary name (seeType.getBinaryName()
) of the type, where '.' has to be replaced by '/', followed by ';', e.g.,Ljava/lang/Object;
. - For fields, the descriptor is the character 'f', followed by the
simple name of the field, followed by the character ';', followed
by the descriptor of the field's type. E.g.,
fout;Ljava/io/PrintStream;
for the fieldSystem.out
. - For methods and constructors, the descriptor is the character
'm', followed by the simple name of the method (which is
<init>
for constructors), followed by the characters ';' and '(', followed by the descriptors of the method's parameter types, followed by ')', followed by the descriptor of the return type. E.g.mprintln;(Ljava/lang/String;)V
for the methodPrintStream.println(String)
.
- Returns:
- the member's descriptor
- For types, descriptors are defined as for the Java Virtual
Machine. For primitive types these are the single characters
'Z', 'B', 'S', 'C', 'I', 'J', 'F', 'D', 'V'
for
-
getDeclaredAnnotationCount
int getDeclaredAnnotationCount() -
getDeclaredAnnotation
-