Class TypeParameterDecider
- java.lang.Object
-
- org.emftext.language.java.resolver.decider.AbstractDecider
-
- org.emftext.language.java.resolver.decider.TypeParameterDecider
-
- All Implemented Interfaces:
IResolutionTargetDecider
public class TypeParameterDecider extends AbstractDecider
A decider that looks for type parameters.
-
-
Field Summary
-
Fields inherited from class org.emftext.language.java.resolver.decider.AbstractDecider
active
-
-
Constructor Summary
Constructors Constructor Description TypeParameterDecider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canFindTargetsFor(EObject referenceContainer, EReference containingReference)
Determines if the decider is of any use for the given resolving procedure.boolean
containsCandidates(EObject container, EReference containingReference)
Determines if the decider needs to look into the given reference.boolean
isPossibleTarget(String id, EObject element)
Decides if the given element is a (possibly the final) target.-
Methods inherited from class org.emftext.language.java.resolver.decider.AbstractDecider
activate, continueAfterReference, deactivate, getAdditionalCandidates, isActive, isSure, reset, walkInto
-
-
-
-
Method Detail
-
isPossibleTarget
public boolean isPossibleTarget(String id, EObject element)
Description copied from interface:IResolutionTargetDecider
Decides if the given element is a (possibly the final) target.- Returns:
- decision
-
containsCandidates
public boolean containsCandidates(EObject container, EReference containingReference)
Description copied from interface:IResolutionTargetDecider
Determines if the decider needs to look into the given reference.- Returns:
- decision
-
canFindTargetsFor
public boolean canFindTargetsFor(EObject referenceContainer, EReference containingReference)
Description copied from interface:IResolutionTargetDecider
Determines if the decider is of any use for the given resolving procedure.- Returns:
- decision
-
-