Class ClassFileFormalParameter
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.FormalParameter
-
- org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileFormalParameter
-
- All Implemented Interfaces:
java.lang.Iterable<FormalParameter>
,BaseFormalParameter
,Declaration
,LocalVariableReference
,Base<FormalParameter>
public class ClassFileFormalParameter extends FormalParameter implements LocalVariableReference
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractLocalVariable
localVariable
-
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.FormalParameter
annotationReferences, fina1, name, type, varargs
-
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 ClassFileFormalParameter(BaseAnnotationReference annotationReferences, AbstractLocalVariable localVariable, boolean varargs)
ClassFileFormalParameter(AbstractLocalVariable localVariable)
ClassFileFormalParameter(AbstractLocalVariable localVariable, boolean varargs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractLocalVariable
getLocalVariable()
java.lang.String
getName()
Type
getType()
void
setLocalVariable(AbstractLocalVariable localVariable)
void
setName(java.lang.String name)
java.lang.String
toString()
-
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.FormalParameter
accept, getAnnotationReferences, isFinal, isVarargs, setFinal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
localVariable
protected AbstractLocalVariable localVariable
-
-
Constructor Detail
-
ClassFileFormalParameter
public ClassFileFormalParameter(AbstractLocalVariable localVariable)
-
ClassFileFormalParameter
public ClassFileFormalParameter(AbstractLocalVariable localVariable, boolean varargs)
-
ClassFileFormalParameter
public ClassFileFormalParameter(BaseAnnotationReference annotationReferences, AbstractLocalVariable localVariable, boolean varargs)
-
-
Method Detail
-
getType
public Type getType()
- Overrides:
getType
in classFormalParameter
-
getName
public java.lang.String getName()
- Overrides:
getName
in classFormalParameter
-
setName
public void setName(java.lang.String name)
- Overrides:
setName
in classFormalParameter
-
getLocalVariable
public AbstractLocalVariable getLocalVariable()
- Specified by:
getLocalVariable
in interfaceLocalVariableReference
-
setLocalVariable
public void setLocalVariable(AbstractLocalVariable localVariable)
- Specified by:
setLocalVariable
in interfaceLocalVariableReference
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFormalParameter
-
-