Package com.strobel.assembler.metadata
Class ParameterDefinition
java.lang.Object
com.strobel.assembler.metadata.ParameterReference
com.strobel.assembler.metadata.ParameterDefinition
- All Implemented Interfaces:
IAnnotationsProvider
,IMetadataTypeMember
User: Mike Strobel
Date: 1/6/13
Time: 5:42 PM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Collection
<CustomAnnotation> private final List
<CustomAnnotation> private TypeReference
private long
private IMethodSignature
private final int
private int
-
Constructor Summary
ConstructorsConstructorDescriptionParameterDefinition
(int slot, TypeReference parameterType) ParameterDefinition
(int slot, String name, TypeReference parameterType) -
Method Summary
Modifier and TypeMethodDescriptionprotected final Collection
<CustomAnnotation> final TypeReference
final long
getFlags()
final IMethodSignature
final int
getSize()
final int
getSlot()
boolean
final boolean
isFinal()
final boolean
final boolean
private List
<CustomAnnotation> resolve()
(package private) final void
setDeclaringType
(TypeReference declaringType) (package private) final void
setFlags
(long flags) (package private) final void
setMethod
(IMethodSignature method) protected void
setParameterType
(TypeReference parameterType) (package private) final void
setSlot
(int slot) Methods inherited from class com.strobel.assembler.metadata.ParameterReference
getName, getParameterType, getPosition, hasName, setName, setPosition, toString
-
Field Details
-
_customAnnotations
-
_customAnnotationsView
-
_size
private final int _size -
_slot
private int _slot -
_method
-
_declaringType
-
_flags
private long _flags
-
-
Constructor Details
-
ParameterDefinition
-
ParameterDefinition
-
-
Method Details
-
getSize
public final int getSize() -
getSlot
public final int getSlot() -
getFlags
public final long getFlags() -
setFlags
final void setFlags(long flags) -
setSlot
final void setSlot(int slot) -
getMethod
-
setMethod
-
isFinal
public final boolean isFinal() -
isMandated
public final boolean isMandated() -
isSynthetic
public final boolean isSynthetic() -
hasAnnotations
public boolean hasAnnotations()- Specified by:
hasAnnotations
in interfaceIAnnotationsProvider
-
getAnnotations
- Specified by:
getAnnotations
in interfaceIAnnotationsProvider
-
getAnnotationsInternal
-
getDeclaringType
- Specified by:
getDeclaringType
in interfaceIMetadataTypeMember
- Specified by:
getDeclaringType
in classParameterReference
-
setParameterType
- Overrides:
setParameterType
in classParameterReference
-
setDeclaringType
-
resolve
- Specified by:
resolve
in classParameterReference
-
populateCustomAnnotations
-