Class FormalParameter
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.FormalParameter
-
- All Implemented Interfaces:
java.lang.Iterable<FormalParameter>,BaseFormalParameter,Declaration,Base<FormalParameter>
- Direct Known Subclasses:
ClassFileFormalParameter
public class FormalParameter extends java.lang.Object implements BaseFormalParameter
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseAnnotationReferenceannotationReferencesprotected booleanfina1protected java.lang.Stringnameprotected Typetypeprotected booleanvarargs-
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
-
Constructor Summary
Constructors Constructor Description FormalParameter(BaseAnnotationReference annotationReferences, Type type, boolean varargs, java.lang.String name)FormalParameter(BaseAnnotationReference annotationReferences, Type type, java.lang.String name)FormalParameter(Type type, boolean varargs, java.lang.String name)FormalParameter(Type type, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(DeclarationVisitor visitor)BaseAnnotationReferencegetAnnotationReferences()java.lang.StringgetName()TypegetType()booleanisFinal()booleanisVarargs()voidsetFinal(boolean fina1)voidsetName(java.lang.String name)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
annotationReferences
protected BaseAnnotationReference annotationReferences
-
fina1
protected boolean fina1
-
type
protected Type type
-
varargs
protected boolean varargs
-
name
protected java.lang.String name
-
-
Constructor Detail
-
FormalParameter
public FormalParameter(Type type, java.lang.String name)
-
FormalParameter
public FormalParameter(BaseAnnotationReference annotationReferences, Type type, java.lang.String name)
-
FormalParameter
public FormalParameter(Type type, boolean varargs, java.lang.String name)
-
FormalParameter
public FormalParameter(BaseAnnotationReference annotationReferences, Type type, boolean varargs, java.lang.String name)
-
-
Method Detail
-
getAnnotationReferences
public BaseAnnotationReference getAnnotationReferences()
-
isFinal
public boolean isFinal()
-
setFinal
public void setFinal(boolean fina1)
-
getType
public Type getType()
-
isVarargs
public boolean isVarargs()
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
acceptin interfaceDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-