|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.util.regex.TypePattern
public class TypePattern
A type pattern which matches patterns like "java..*" (all tpyes of the JDK). These are the same patterns as AspectJ allows.
| Constructor Summary | |
|---|---|
TypePattern(String pattern)
Instantiates a new type pattern. |
|
| Method Summary | |
|---|---|
boolean |
matches(Class<?> clazz)
Matches. |
boolean |
matches(Object object)
Matches. |
boolean |
matches(String classname)
Matches. |
String |
toString()
To string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TypePattern(String pattern)
pattern - the pattern| Method Detail |
|---|
public boolean matches(Object object)
object - the object
public boolean matches(Class<?> clazz)
clazz - the clazz
public boolean matches(String classname)
classname - the classname
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||