boolean function ( long arg0 ) { for ( int loc0 = 1 ; loc0 < maxPoolSize ; loc0 ++ ) { if ( types [ loc0 ] == LONG && readLong ( loc0 ) == arg0 ) return true ; } return false ; }
checks if the constant pool contains the provided long constant , which implies the constant is used somewhere in the code . nb : compile-time constant expressions are evaluated at compile time . concode_field_sep byte[] types concode_elem_sep byte FIELD concode_elem_sep String[] utf8s concode_elem_sep byte INTERFACE_METHOD concode_elem_sep byte INTEGER concode_elem_sep byte DOUBLE concode_elem_sep byte UTF8 concode_elem_sep byte NAME_TYPE concode_elem_sep int NOT_FOUND concode_elem_sep int endOfPool concode_elem_sep int START_OF_CONSTANT_POOL concode_elem_sep byte FLOAT concode_elem_sep byte STRING concode_elem_sep byte[] byteCode concode_elem_sep int[] offsets concode_elem_sep byte METHOD_TYPE concode_elem_sep byte LONG concode_elem_sep byte METHOD_HANDLE concode_elem_sep byte METHOD concode_elem_sep int maxPoolSize concode_elem_sep byte CLASS concode_elem_sep byte INVOKE_DYNAMIC concode_field_sep boolean usesField concode_elem_sep boolean containsFloat concode_elem_sep void appendNameAndType concode_elem_sep String getSuperClassName concode_elem_sep int findNameAndType concode_elem_sep boolean containsInteger concode_elem_sep int findUtf8 concode_elem_sep boolean containsStringConstant concode_elem_sep double readDouble concode_elem_sep float readFloat concode_elem_sep boolean isMethod concode_elem_sep int readValue concode_elem_sep void appendAccess concode_elem_sep String decodeString concode_elem_sep List<String> getInterfaces concode_elem_sep boolean containsDouble concode_elem_sep int readInteger concode_elem_sep int findClass concode_elem_sep boolean containsUtf8 concode_elem_sep boolean usesClass concode_elem_sep int read32 concode_elem_sep boolean usesMethod concode_elem_sep boolean usesMethod concode_elem_sep long readLong concode_elem_sep String getClassName concode_elem_sep String getClassName concode_elem_sep String poolContent