1 21 22 package org.armedbear.lisp; 23 24 public class StyleWarning extends Warning 25 { 26 public StyleWarning(LispObject initArgs) throws ConditionThrowable 27 { 28 super(initArgs); 29 } 30 31 public LispObject typeOf() 32 { 33 return Symbol.STYLE_WARNING; 34 } 35 36 public LispClass classOf() 37 { 38 return BuiltInClass.STYLE_WARNING; 39 } 40 41 public LispObject typep(LispObject type) throws ConditionThrowable 42 { 43 if (type == Symbol.STYLE_WARNING) 44 return T; 45 if (type == BuiltInClass.STYLE_WARNING) 46 return T; 47 return super.typep(type); 48 } 49 } 50 | Popular Tags |