@Incubating
public final class MetaClassConstant<T>
extends Object
The one and only implementation of a metaclass. INTERNAL USE ONLY.
| Constructor and description |
|---|
MetaClassConstant(Class<T> clazz)Creates a constant whose meta class is a MetaClassImpl for clazz. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public MetaMethod |
getMethod(String name, Class[] parameters)Selects a method by name and parameter types. |
|
public SwitchPoint |
getSwitchPoint()The switch point created with this constant. |
Creates a constant whose meta class is a MetaClassImpl for clazz.
clazz - the class this constant describesSelects a method by name and parameter types.
name - the method nameparameters - the parameter types passed to
MetaClassImpl.pickMethodnull when none matchesThe switch point created with this constant. Nothing in this class invalidates it.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.