private void readInterfaces ( ) throws IOException { // Interfaces final int interfaceCount = inputStreamOrByteBuffer . readUnsignedShort ( ) ; for ( int i = 0 ; i < interfaceCount ; i ++ ) { final String interfaceName = getConstantPoolClassName ( inputStreamOrByteBuffer . readUnsignedShort ( ) ) ; if ( implementedInterfaces == null ) { implementedInterfaces = new ArrayList <> ( ) ; } implementedInterfaces . add ( interfaceName ) ; } }
Read the class interfaces .