public String getVariableQualifiedName ( VariableElement var ) { String shortName = getVariableShortName ( var ) ; if ( ElementUtil . isGlobalVar ( var ) ) { String className = getFullName ( ElementUtil . getDeclaringClass ( var ) ) ; if ( ElementUtil . isEnumConstant ( var ) ) { // Enums are declared in an array, so we use a macro to shorten the // array access expression. return "JreEnum(" + className + ", " + shortName + ")" ; } return className + ' ' + shortName ; } return shortName ; }
Gets the name of the variable as it is declared in ObjC fully qualified .