Lines Matching defs:isStatic

1201         private final boolean isStatic;
1204 private ClassElementKey(final boolean isStatic, final String propertyName) {
1205 this.isStatic = isStatic;
1213 result = prime * result + (isStatic ? 1231 : 1237);
1222 return this.isStatic == other.isStatic && Objects.equals(this.propertyName, other.propertyName);
1271 boolean isStatic = false;
1273 isStatic = true;
1281 final PropertyNode classElement = methodDefinition(isStatic, classHeritage != null, generator);
1284 } else if (!classElement.isStatic() && classElement.getKeyName().equals(CONSTRUCTOR_NAME)) {
1294 final ClassElementKey key = new ClassElementKey(classElement.isStatic(), classElement.getKeyName());
1379 private PropertyNode methodDefinition(final boolean isStatic, final boolean subclass, final boolean generator) {
1390 verifyAllowedMethodName(methodDefinition.key, isStatic, methodDefinition.computed, generator, true);
1391 return new PropertyNode(methodToken, finish, methodDefinition.key, null, methodDefinition.functionNode, null, isStatic, methodDefinition.computed);
1394 verifyAllowedMethodName(methodDefinition.key, isStatic, methodDefinition.computed, generator, true);
1395 return new PropertyNode(methodToken, finish, methodDefinition.key, null, null, methodDefinition.functionNode, isStatic, methodDefinition.computed);
1397 if (!isStatic && !generator && name.equals(CONSTRUCTOR_NAME)) {
1403 verifyAllowedMethodName(propertyName, isStatic, computed, generator, false);
1407 return new PropertyNode(methodToken, finish, methodDefinition.key, methodDefinition.functionNode, null, null, isStatic, computed);
1413 private void verifyAllowedMethodName(final Expression key, final boolean isStatic, final boolean computed, final boolean generator, final boolean accessor) {
1415 if (!isStatic && generator && ((PropertyKey) key).getPropertyName().equals(CONSTRUCTOR_NAME)) {
1418 if (!isStatic && accessor && ((PropertyKey) key).getPropertyName().equals(CONSTRUCTOR_NAME)) {
1421 if (isStatic && ((PropertyKey) key).getPropertyName().equals("prototype")) {