org.androidtransfuse.util.matcher
Class ASTTypeMatcher

Package class diagram package ASTTypeMatcher
java.lang.Object
  extended by org.androidtransfuse.util.matcher.ASTTypeMatcher
All Implemented Interfaces:
Matcher<ASTType>

public class ASTTypeMatcher
extends Object
implements Matcher<ASTType>

Determines matching based on the input set of annotations. All annotations must be present to match the given type.

Author:
John Ericksen

Constructor Summary
ASTTypeMatcher(com.google.common.collect.ImmutableSet<Class<? extends Annotation>> annotations, ASTType astType, boolean ignoreGenericParameters)
           
 
Method Summary
 boolean matches(ASTType astType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTTypeMatcher

public ASTTypeMatcher(com.google.common.collect.ImmutableSet<Class<? extends Annotation>> annotations,
                      ASTType astType,
                      boolean ignoreGenericParameters)
Method Detail

matches

public boolean matches(ASTType astType)
Specified by:
matches in interface Matcher<ASTType>


Copyright © 2012. All Rights Reserved.