Search in sources :

Example 1 with AndroidRClassFinder

use of org.androidannotations.internal.rclass.AndroidRClassFinder in project androidannotations by androidannotations.

the class AndroidAnnotationProcessor method findRClasses.

private IRClass findRClasses(AndroidManifest androidManifest) throws RClassNotFoundException {
    try {
        timeStats.start("Find R Classes");
        IRClass rClass = new ProjectRClassFinder(androidAnnotationsEnv).find(androidManifest);
        IRClass androidRClass = new AndroidRClassFinder(processingEnv).find();
        return new CompoundRClass(rClass, androidRClass);
    } finally {
        timeStats.stop("Find R Classes");
    }
}
Also used : ProjectRClassFinder(org.androidannotations.internal.rclass.ProjectRClassFinder) AndroidRClassFinder(org.androidannotations.internal.rclass.AndroidRClassFinder) IRClass(org.androidannotations.rclass.IRClass) CompoundRClass(org.androidannotations.internal.rclass.CompoundRClass)

Aggregations

AndroidRClassFinder (org.androidannotations.internal.rclass.AndroidRClassFinder)1 CompoundRClass (org.androidannotations.internal.rclass.CompoundRClass)1 ProjectRClassFinder (org.androidannotations.internal.rclass.ProjectRClassFinder)1 IRClass (org.androidannotations.rclass.IRClass)1