@Data public class ParameterProcessor extends Object
IteratedParameter
or Parameter
. For further
information consult the Javadoc of IteratedParameter
or Parameter
.TestClassProcessor
and StepProcessor
and does not fulfill Xtend's
annotation processor API.Parameter
,
IteratedParameter
Constructor and Description |
---|
ParameterProcessor(org.eclipse.xtend.lib.macro.declaration.AnnotationReference parameterAnnotation) |
Modifier and Type | Method and Description |
---|---|
void |
doTransform(org.eclipse.xtend.lib.macro.declaration.MutableDeclaration declaration,
String interfaceName,
org.eclipse.xtend.lib.macro.TransformationContext context) |
boolean |
equals(Object obj) |
org.eclipse.xtend.lib.macro.declaration.AnnotationReference |
getParameterAnnotation() |
String |
getParameterMethodName(org.eclipse.xtend.lib.macro.declaration.MutableDeclaration declaration,
org.eclipse.xtend.lib.macro.declaration.AnnotationReference parameterAnnotation) |
org.eclipse.xtend.lib.macro.declaration.TypeReference |
getParameterType(org.eclipse.xtend.lib.macro.declaration.Declaration declaration,
org.eclipse.xtend.lib.macro.TransformationContext context)
Returns the expected return type of the method which provides the parameter(s).
|
int |
hashCode() |
String |
toString() |
public ParameterProcessor(org.eclipse.xtend.lib.macro.declaration.AnnotationReference parameterAnnotation)
public void doTransform(org.eclipse.xtend.lib.macro.declaration.MutableDeclaration declaration, String interfaceName, @Extension org.eclipse.xtend.lib.macro.TransformationContext context)
declaration
- declarationinterfaceName
- interfaceNamecontext
- contextpublic String getParameterMethodName(org.eclipse.xtend.lib.macro.declaration.MutableDeclaration declaration, org.eclipse.xtend.lib.macro.declaration.AnnotationReference parameterAnnotation)
public org.eclipse.xtend.lib.macro.declaration.TypeReference getParameterType(org.eclipse.xtend.lib.macro.declaration.Declaration declaration, @Extension org.eclipse.xtend.lib.macro.TransformationContext context)
declaration
- the declarationcontext
- the context@Pure public org.eclipse.xtend.lib.macro.declaration.AnnotationReference getParameterAnnotation()
Copyright © 2018–2020 b+m Informatik AG. All rights reserved.