1 11 package org.eclipse.jdt.core.dom; 12 13 import java.util.ArrayList ; 14 import java.util.List ; 15 16 35 public final class BlockComment extends Comment { 36 37 42 private static final List PROPERTY_DESCRIPTORS; 43 44 static { 45 List properyList = new ArrayList (1); 46 createPropertyList(BlockComment.class, properyList); 47 PROPERTY_DESCRIPTORS = reapPropertyList(properyList); 48 } 49 50 61 public static List propertyDescriptors(int apiLevel) { 62 return PROPERTY_DESCRIPTORS; 63 } 64 65 73 BlockComment(AST ast) { 74 super(ast); 75 } 76 77 80 final List internalStructuralPropertiesForType(int apiLevel) { 81 return propertyDescriptors(apiLevel); 82 } 83 84 87 final int getNodeType0() { 88 return BLOCK_COMMENT; 89 } 90 91 94 ASTNode clone0(AST target) { 95 BlockComment result = new BlockComment(target); 96 result.setSourceRange(this.getStartPosition(), this.getLength()); 97 return result; 98 } 99 100 103 final boolean subtreeMatch0(ASTMatcher matcher, Object other) { 104 return matcher.match(this, other); 106 } 107 108 111 void accept0(ASTVisitor visitor) { 112 visitor.visit(this); 113 visitor.endVisit(this); 114 } 115 116 119 int memSize() { 120 return super.memSize(); 121 } 122 123 126 int treeSize() { 127 return memSize(); 128 } 129 } 130 | Popular Tags |