public void check(final int api){
  if (api == Opcodes.ASM4) {
    if (visibleTypeAnnotations != null && visibleTypeAnnotations.size() > 0) {
      throw new RuntimeException();
    }
    if (invisibleTypeAnnotations != null && invisibleTypeAnnotations.size() > 0) {
      throw new RuntimeException();
    }
  }
}

public void check ( final int api ) { if ( api == Opcodes . ASM4 ) { if ( visibleTypeAnnotations != null && visibleTypeAnnotations . size ( ) > 0 ) { throw new RuntimeException ( ) ; } if ( invisibleTypeAnnotations != null && invisibleTypeAnnotations . size ( ) > 0 ) { throw new RuntimeException ( ) ; } } }
checks that this field node is compatible with the given asm api version . this methods checks that this node , and all its nodes recursively , do not contain elements that were introduced in more recent versions of the asm api than the given version .
