1 18 19 package org.objectweb.jac.core; 20 21 import java.io.Serializable ; 22 23 28 public class ImportStatement implements Serializable , Cloneable { 29 String expr; 30 String lineNumber; 31 public ImportStatement(String expr, String lineNumber) { 32 this.expr = expr; 33 this.lineNumber = lineNumber; 34 } 35 public ImportStatement(String expr) { 36 this.expr = expr; 37 this.lineNumber = "???:???"; 38 } 39 public String getExpr() { 40 return expr; 41 } 42 public String getLineNumber() { 43 return lineNumber; 44 } 45 public String toString() { 46 return "ImportStatement("+expr+")"; 47 } 48 public Object clone() throws CloneNotSupportedException { 49 return super.clone(); 50 } 51 } 52 | Popular Tags |