Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Modifiers | Name | Description |
---|---|---|
protected TypeCheckingContext |
context |
|
protected boolean |
debug |
|
protected boolean |
handled |
Fields inherited from class | Fields |
---|---|
class TypeCheckingExtension |
typeCheckingVisitor |
Constructor and description |
---|
AbstractTypeCheckingExtension
(StaticTypeCheckingVisitor typeCheckingVisitor) |
Used to instruct the type checker that the call is a dynamic method call. Calling this method automatically sets the handled flag to true. The expected return type of the dynamic method call is Object.
call
- the method call which is a dynamic method callUsed to instruct the type checker that the call is a dynamic method call. Calling this method automatically sets the handled flag to true.
call
- the method call which is a dynamic method callreturnType
- the expected return type of the dynamic callInstructs the type checker that a property access is dynamic, returning an instance of an Object. Calling this method automatically sets the handled flag to true.
pexp
- the property or attribute expressionInstructs the type checker that a property access is dynamic. Calling this method automatically sets the handled flag to true.
pexp
- the property or attribute expressionreturnType
- the type of the propertyInstructs the type checker that an unresolved variable is a dynamic variable of type Object. Calling this method automatically sets the handled flag to true.
vexp
- the dynamic variableInstructs the type checker that an unresolved variable is a dynamic variable.
returnType
- the type of the dynamic variable
Calling this method automatically sets the handled flag to true.vexp
- the dynamic variableCopyright © 2003-2015 The Apache Software Foundation. All rights reserved.