Class TopType
java.lang.Object
sootup.core.types.Type
sootup.interceptors.typeresolving.types.TopType
- All Implemented Interfaces:
Acceptor<TypeVisitor>
The top type is a superclass of all other types. This is similar to
This type can't exist in Java source code, but it can implicitly exist in bytecode. This happens when the compiler re-uses local variables with the same id, but different types.
If you see this type when you didn't expect it, you probably need to turn on the
java.lang.Object
but
also includes primitive types. This type can't exist in Java source code, but it can implicitly exist in bytecode. This happens when the compiler re-uses local variables with the same id, but different types.
If you see this type when you didn't expect it, you probably need to turn on the
LocalSplitter
. The LocalSplitter
will remove all situations where a TopType
could be created by the TypeAssigner
(at least when the bytecode has been generated from
Java source code).-
Method Summary
Modifier and TypeMethodDescription<V extends TypeVisitor>
Vaccept
(V typeVisitor) Called when this object is visited.static TopType
toString()
Methods inherited from class sootup.core.types.Type
createArrayType, getValueBitSize, isIntLikeType, isObject, isObjectLikeType