@Nullable public byte[] findClassDefinition(@NotNull String name,@NotNull AppResourceRepository appRepo){
  int index=name.lastIndexOf('.');
  if (index != -1 && name.charAt(index + 1) == 'R' && (index == name.length() - 2 || name.charAt(index + 2) == '$') && index > 1) {
    String pkg=name.substring(0,index);
    if (myPackages != null && myPackages.contains(pkg)) {
      AarResourceClassGenerator generator=myGeneratorMap.get(appRepo);
      if (generator != null) {
        return generator.generate(name);
      }
    }
  }
  return null;
}

@ Nullable public byte [ ] findClassDefinition ( @ NotNull String name , @ NotNull AppResourceRepository appRepo ) { int index = name . lastIndexOf ( '.' ) ; if ( index != - 1 && name . charAt ( index + 1 ) == 'R' && ( index == name . length ( ) - 2 || name . charAt ( index + 2 ) == '$' ) && index > 1 ) { String pkg = name . substring ( 0 , index ) ; if ( myPackages != null && myPackages . contains ( pkg ) ) { AarResourceClassGenerator generator = myGeneratorMap . get ( appRepo ) ; if ( generator != null ) { return generator . generate ( name ) ; } } } return null ; }
looks up a class definition for the given name , if possible
