1 11 package org.eclipse.jdt.core.dom; 12 13 21 public final class ChildListPropertyDescriptor extends StructuralPropertyDescriptor { 22 23 31 final Class elementType; 32 33 40 final boolean cycleRisk; 41 42 54 ChildListPropertyDescriptor(Class nodeClass, String propertyId, Class elementType, boolean cycleRisk) { 55 super(nodeClass, propertyId); 56 if (elementType == null) { 57 throw new IllegalArgumentException (); 58 } 59 this.elementType = elementType; 60 this.cycleRisk = cycleRisk; 61 } 62 63 72 public final Class getElementType() { 73 return this.elementType; 74 } 75 76 94 public final boolean cycleRisk() { 95 return this.cycleRisk; 96 } 97 } 98 | Popular Tags |