ClassFileAnalyzer (Can)
Home

 

Example: TestCanInterface

Test directive .interface

 

/* TestCanInterface.java */

public interface TestCanInterface {
  public int method1();
  public String method2();
}

 

> javac TestCanInterface.java
> java ClassFileAnalyzer TestCanInterface.class

 

; TestCanInterface.j

; Generated by ClassFileAnalyzer (Can)
; Analyzer and Disassembler for Java class files
; (Jasmin syntax 2, http://jasmin.sourceforge.net)
;
; ClassFileAnalyzer, version 0.7.0 


.bytecode 50.0
.source TestCanInterface.java
.interface public abstract TestCanInterface
; Flag ACC_SUPER not set, see JVM spec

.super java/lang/Object

.method public abstract method1()I
.end method

.method public abstract method2()Ljava/lang/String;
.end method