1 8 package org.codehaus.aspectwerkz.expression; 9 10 import java.io.Serializable ; 11 12 17 public class SubtypePatternType implements Serializable { 18 19 public static final SubtypePatternType NOT_HIERARCHICAL = new SubtypePatternType("NOT_HIERARCHICAL"); 20 21 public static final SubtypePatternType MATCH_ON_ALL_METHODS = new SubtypePatternType("MATCH_ON_ALL_METHODS"); 22 23 public static final SubtypePatternType MATCH_ON_BASE_TYPE_METHODS_ONLY = new SubtypePatternType( 24 "MATCH_ON_BASE_TYPE_METHODS_ONLY" 25 ); 26 27 private final String myName; 28 29 34 private SubtypePatternType(final String name) { 35 myName = name; 36 } 37 38 43 public String toString() { 44 return myName; 45 } 46 } | Popular Tags |