@ Override public void visitInnerClass ( String name , String outerName , String innerName , int access ) { // Make sure the class is annotated. ensureAnnotated ( ) ; if ( name . equals ( getClassInternalName ( ) ) ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( outerName ) ; sb . append ( "$" ) ; sb . append ( innerName ) ; isInnerClass = name . equals ( sb . toString ( ) ) ; } super . visitInnerClass ( name , outerName , innerName , access ) ; }
Visit the information about an inner class . We use this to determine whether or not the we re visiting an inner class . This callback is also used to ensure that appropriate class level annotations exist .