protected void addAccessFlags ( AbstractInfo info ) { Element currentNode = ( Element ) this . currentNode ; currentNode . setAttribute ( "access" , info . getAccessType ( ) ) ; if ( info . isAbstract ( ) ) currentNode . setAttribute ( "abstract" , "yes" ) ; if ( info . isAnnotation ( ) ) currentNode . setAttribute ( "annotation" , "yes" ) ; if ( info . isBridge ( ) ) currentNode . setAttribute ( "bridge" , "yes" ) ; if ( info . isDeprecated ( ) ) currentNode . setAttribute ( "deprecated" , "yes" ) ; if ( info . isEnum ( ) ) currentNode . setAttribute ( "enum" , "yes" ) ; if ( info . isFinal ( ) ) currentNode . setAttribute ( "final" , "yes" ) ; if ( info . isInterface ( ) ) currentNode . setAttribute ( "interface" , "yes" ) ; if ( info . isNative ( ) ) currentNode . setAttribute ( "native" , "yes" ) ; if ( info . isStatic ( ) ) currentNode . setAttribute ( "static" , "yes" ) ; if ( info . isStrict ( ) ) currentNode . setAttribute ( "strict" , "yes" ) ; if ( info . isSuper ( ) ) currentNode . setAttribute ( "super" , "yes" ) ; if ( info . isSynchronized ( ) ) currentNode . setAttribute ( "synchronized" , "yes" ) ; if ( info . isSynthetic ( ) ) currentNode . setAttribute ( "synthetic" , "yes" ) ; if ( info . isTransient ( ) ) currentNode . setAttribute ( "transient" , "yes" ) ; if ( info . isVarargs ( ) ) currentNode . setAttribute ( "varargs" , "yes" ) ; if ( info . isVolatile ( ) ) currentNode . setAttribute ( "volatile" , "yes" ) ; }
Add attributes describing some access flags . This adds the attributes to the attr field .