<s> package org . eclipse . jdt . core . dom ; import java . util . ArrayList ; import java . util . List ; public class BooleanLiteral extends Expression { public static final SimplePropertyDescriptor BOOLEAN_VALUE_PROPERTY = new SimplePropertyDescriptor ( BooleanLiteral . class , "booleanValue" , boolean . class , MANDATORY ) ; private static final List PROPERTY_DESCRIPTORS ; static { List properyList = new ArrayList ( 2 ) ; createPropertyList ( BooleanLiteral . class , properyList ) ; addProperty ( BOOLEAN_VALUE_PROPERTY , properyList ) ; PROPERTY_DESCRIPTORS = reapPropertyList ( properyList ) ; } public static List propertyDescriptors ( int apiLevel ) { return PROPERTY_DESCRIPTORS ; } private boolean value = false ; BooleanLiteral ( AST ast ) { super ( ast ) ; } final List internalStructuralPropertiesForType ( int apiLevel ) { return propertyDescriptors ( apiLevel ) ; } final boolean internalGetSetBooleanProperty ( SimplePropertyDescriptor property , boolean get , boolean newValue ) { if ( property == BOOLEAN_VALUE_PROPERTY ) { if ( get ) { return booleanValue ( ) ; } else { setBooleanValue ( newValue ) ; return false ; } } return super . internalGetSetBooleanProperty ( property , get , newValue ) ; } final int getNodeType0 ( ) { return BOOLEAN_LITERAL ; } ASTNode clone0 ( AST target ) { BooleanLiteral result = new BooleanLiteral ( target ) ; result . setSourceRange ( getStartPosition ( ) , getLength ( ) ) ; result . setBooleanValue ( booleanValue ( ) ) ; return result ; } final boolean subtreeMatch0 ( ASTMatcher matcher , Object other ) { return matcher . match ( this , other ) ; } void accept0 ( ASTVisitor visitor ) { visitor . visit ( this ) ; visitor . endVisit ( this ) ; } public boolean booleanValue ( ) { return this . value ; } public void setBooleanValue ( boolean value ) { preValueChange ( BOOLEAN_VALUE_PROPERTY ) ; this . value = value ; postValueChange ( BOOLEAN_VALUE_PROPERTY ) ; } int memSize ( ) { return BASE_NODE_SIZE + 1 * 4 ; } int treeSize ( ) { return memSize ( ) ; } } </s>