private void setClassFields(String name,
                              String superClassName,
                              String[] interfaces,
                              int asmAccessMask,
                              File location) {
    this.className = translateInternalClassName(name);
    this.locationFound = location;

    if ((superClassName != null) &&
        (!superClassName.equals("java/lang/Object"))) {
      this.superClassName = translateInternalClassName(superClassName);
    }

    if (interfaces != null) {
      this.implementedInterfaces = new String[interfaces.length];
      for (int i = 0; i < interfaces.length; i++) {
        this.implementedInterfaces[i] =
            translateInternalClassName(interfaces[i]);
      }
    }

    modifier = convertAccessMaskToModifierMask(asmAccessMask);
  }
private void setClassFields ( String name , String superClassName , String [ ] interfaces , int asmAccessMask , File location ) { this . className = translateInternalClassName ( name ) ; this . locationFound = location ; if ( ( superClassName != null ) && ( ! superClassName . equals ( "java/lang/Object" ) ) ) { this . superClassName = translateInternalClassName ( superClassName ) ; } if ( interfaces != null ) { this . implementedInterfaces = new String [ interfaces . length ] ; for ( int i = 0 ; i < interfaces . length ; i ++ ) { this . implementedInterfaces [ i ] = translateInternalClassName ( interfaces [ i ] ) ; } } modifier = convertAccessMaskToModifierMask ( asmAccessMask ) ; }
Set the fields in this object.

@param name           the class name
@param superClassName the parent class name, or null
@param interfaces     the names of interfaces the class implements,
or null
@param asmAccessMask  ASM API's access mask for the class
@param location       File (jar, zip) or directory where class was found