Skip to content

aslakknutsen/Query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Query API 

Defines a Structure for Querying for class metadata


Query Impl - Reflection

A Query API impl using the Java Reflection API.

Example:

      Collection<Method> result = Query.forMethod()
               .withAnnotation(MyAnnotation.class)
               .withType(MyReturnType.class)
               .run(MyClass.class);


Query Impl - Javassist

A Query API impl using the Javassist API. For use with classes outside a ClassLoader.

Example:

      Collection<CtMethod> result = Query.forMethod()
               .withAnnotation("org.my.MyAnnotation")
               .withType("org.my.MyReturnType")
               .run("org.my.MyClass");


About

Defines a Structure for Querying for type metadata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages