Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpongePowered/Mixin
/ functions
Functions
3,632 in github.com/SpongePowered/Mixin
⨍
Functions
3,632
◇
Types & classes
548
↓ 3 callers
Method
getTargets
Class targets
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1174
↓ 3 callers
Method
getToken
()
src/main/java/org/spongepowered/asm/util/ClassSignature.java:685
↓ 3 callers
Method
getTotalCount
Get the number of total time periods recorded in the all slices
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:276
↓ 3 callers
Method
getTransformers
Get currently available transformers in the environment
src/main/java/org/spongepowered/asm/service/ITransformerProvider.java:40
↓ 3 callers
Method
getTypeValue
Get an annotation value as an ASM {@link Type}. This is special-cased because the different APIs return class literals in different ways. Under ASM we
src/main/java/org/spongepowered/asm/util/asm/IAnnotationHandle.java:72
↓ 3 callers
Method
hasDecoration
Get whether this list is decorated with the specified key @param key meta key @return true if the specified decoration exists
src/main/java/org/spongepowered/asm/mixin/injection/code/IInsnListEx.java:113
↓ 3 callers
Method
hasFlags
(int flags)
src/main/java/org/spongepowered/asm/util/Locals.java:248
↓ 3 callers
Method
init
Called at the end of subsystem boot
src/main/java/org/spongepowered/asm/service/IMixinService.java:78
↓ 3 callers
Method
init
Initialise the mixin environment in the specified phase @param phase initial phase
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1709
↓ 3 callers
Method
initMappings
()
src/ap/java/org/spongepowered/tools/obfuscation/ObfuscationEnvironment.java:137
↓ 3 callers
Method
invalidate
()
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:113
↓ 3 callers
Method
invokeHandlerWithArgs
@param args handler arguments @param insns InsnList to inject insns into @param argMap Mapping of args to local variables @return injected insn node
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:465
↓ 3 callers
Method
invokeStringMethod
(ClassLoader classLoader, String className, String methodName)
src/main/java/org/spongepowered/asm/launch/platform/MixinPlatformAgentAbstract.java:87
↓ 3 callers
Method
isAtLeast
Get whether this level is the same or greater than the specified level @param level level to compare to @return true if this level is equal or higher
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:961
↓ 3 callers
Method
isAvailable
()
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1091
↓ 3 callers
Method
isConstant
Gets whether the supplied instruction is a constant instruction (eg. <tt>ICONST_1</tt>) @param insn instruction to check @return true if the supplied
src/main/java/org/spongepowered/asm/util/Bytecode.java:930
↓ 3 callers
Method
isConstructor
Get whether this member represents a constructor @return true if member name is <tt><init></tt>
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelectorRemappable.java:57
↓ 3 callers
Method
isDecoratedMutable
()
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:409
↓ 3 callers
Method
isDevelopmentEnvironment
True if this compiler environment is an IDE
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMixinAnnotationProcessor.java:106
↓ 3 callers
Method
isExactMatch
Get whether this is an exact match
src/main/java/org/spongepowered/asm/mixin/injection/selectors/MatchResult.java:81
↓ 3 callers
Method
isExcludedPackage
Check whether a package is in the exclusion set. @param internalName Internal class or package name @return true if warnings for the supplied package
src/ap/java/org/spongepowered/tools/obfuscation/ext/SpecialPackages.java:71
↓ 3 callers
Method
isImplicit
If the user specifies no values for <tt>ordinal</tt>, <tt>index</tt> or <tt>names</tt> then we are considered to be operating in "implicit mode" where
src/main/java/org/spongepowered/asm/mixin/injection/modify/LocalVariableDiscriminator.java:329
↓ 3 callers
Method
isInjector
()
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:135
↓ 3 callers
Method
isInterface
Get whether this is an interface mixin
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixin.java:335
↓ 3 callers
Method
isReplaced
Get whether this node has been replaced
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionNodes.java:147
↓ 3 callers
Method
isStatic
Get whether the accessor itself is static
src/main/java/org/spongepowered/asm/mixin/gen/AccessorInfo.java:458
↓ 3 callers
Method
isStatic
()
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:381
↓ 3 callers
Method
isSuperTypeOf
Gets whether this handle is a supertype of the other handle @param other the TypeHandle to compare with
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:301
↓ 3 callers
Method
isSupported
()
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:654
↓ 3 callers
Method
isValid
Range is valid if both start and end are nonzero and end is after or at start @return true if valid
src/main/java/org/spongepowered/asm/mixin/transformer/struct/InsnRange.java:76
↓ 3 callers
Method
logSpecial
(ILogger logger, Level level, ISpecialEntry line)
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:1144
↓ 3 callers
Method
mapDescriptor
Map a descriptor using the supplied rempper @param desc descriptor to remap @param remapper remapper to use @return mapped descriptor
src/main/java/org/spongepowered/asm/util/ObfuscationUtil.java:64
↓ 3 callers
Method
mapFieldName
Map field name to the new name. Subclasses can override. @param owner owner of the field. @param name name of the field @param desc descriptor of the
src/main/java/org/spongepowered/asm/mixin/extensibility/IRemapper.java:50
↓ 3 callers
Method
match
Test whether this selector matches the supplied element node @param node node node to test @param <TNode> node type @return true if this selector can
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelector.java:236
↓ 3 callers
Method
of
Create a MainAttributes instance for the supplied jar file @param jar jar file @return MainAttributes instance
src/main/java/org/spongepowered/asm/launch/platform/MainAttributes.java:209
↓ 3 callers
Method
of
Get an accessor name from the supplied string. If the string matches the accessor name regex, split the string into the relevant parts @param methodN
src/main/java/org/spongepowered/asm/mixin/gen/AccessorInfo.java:185
↓ 3 callers
Method
ofArgs
Create a CommandLineOptions using the supplied unparsed argument list. Uses args from system property if @param args Argument list to parse, can be n
src/main/java/org/spongepowered/asm/launch/platform/CommandLineOptions.java:77
↓ 3 callers
Method
parse
Parse an injector from the specified method (if an injector annotation is present). If no injector annotation is present then <tt>null</tt> is returne
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionInfo.java:655
↓ 3 callers
Method
parseAndValidate
Parse a target selector from the supplied annotation and perform validation @param annotation Annotation to parse target selector from @param context
src/main/java/org/spongepowered/asm/mixin/injection/selectors/TargetSelector.java:283
↓ 3 callers
Method
pop
()
src/main/java/org/spongepowered/asm/mixin/injection/invoke/util/InsnFinder.java:123
↓ 3 callers
Method
postProcess
Perform postprocessing actions on the supplied class. This is called for all classes. For passthrough classes and classes which are not mixin targets
src/main/java/org/spongepowered/asm/mixin/transformer/MixinCoprocessor.java:167
↓ 3 callers
Method
printLVT
True if the injector should print the LVT
src/main/java/org/spongepowered/asm/mixin/injection/modify/LocalVariableDiscriminator.java:303
↓ 3 callers
Method
printMessage
(MessageType type, String msg, Element e, AnnotationHandle annotation, SuppressedBy suppressedBy)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandler.java:590
↓ 3 callers
Method
printSpecial
(PrintStream stream, ISpecialEntry line)
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:1093
↓ 3 callers
Method
read
Called multiple times by the environment. This method will be called for each input file specified by the user. @param input input file to read @thro
src/ap/java/org/spongepowered/tools/obfuscation/mapping/IMappingProvider.java:61
↓ 3 callers
Method
registerAccessor
(ExecutableElement element, AnnotationHandle accessor, boolean shouldRemap)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixin.java:447
↓ 3 callers
Method
remapDescriptor
Remap only the owner and descriptor of the specified method @param method method to remap @return remapped method or null if no remapping occurred
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationEnvironment.java:122
↓ 3 callers
Method
removeNode
Remove the specified instruction from the target and mark it as removed for injections @param insn instruction to remove
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:816
↓ 3 callers
Method
requireVersion
Mark this mixin as requiring the specified class version in the context of the current target @param version version to require
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:1136
↓ 3 callers
Method
requiredFor
Return the minimum language level required to support the specified language feature(s). Returns <tt>null</tt> if no compatibility level available can
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1012
↓ 3 callers
Method
run
Run query on supplied target nodes @param selector Target selector @param nodes Node collection to enumerate @param <TNode> Node type @return query r
src/main/java/org/spongepowered/asm/mixin/injection/selectors/TargetSelector.java:459
↓ 3 callers
Method
setActive
Set the active state of the profiler. @param active new active state
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:731
↓ 3 callers
Method
setDesc
Changes the descriptor of this member @param desc New descriptor of this member
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:331
↓ 3 callers
Method
setEnabled
Set whether this message type is enabled @param enabled true to enable the message
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMessagerEx.java:356
↓ 3 callers
Method
setInfo
Set the auxilliary info for this section @param info aux info
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:172
↓ 3 callers
Method
setUnique
(boolean unique)
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:401
↓ 3 callers
Method
setVisibility
Set the visibility of the specified class, leaving other access flags unchanged @param classNode class to change @param visibility new visibility
src/main/java/org/spongepowered/asm/util/Bytecode.java:1143
↓ 3 callers
Method
shift
Returns an injection point which returns all insns offset by the specified "count" from insns from the supplied injection point @param point injectio
src/main/java/org/spongepowered/asm/mixin/injection/InjectionPoint.java:663
↓ 3 callers
Method
shouldRemap
()
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandlerAccessor.java:181
↓ 3 callers
Method
shouldRemap
()
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandlerInjector.java:75
↓ 3 callers
Method
shouldSuppress
(Element element, SuppressedBy suppressedBy)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixins.java:535
↓ 3 callers
Method
start
Phase 1 of mixin initialisation
src/main/java/org/spongepowered/asm/launch/MixinBootstrap.java:138
↓ 3 callers
Method
stripOwnerData
(ObfuscationData<T> data)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandler.java:598
↓ 3 callers
Method
summariseLocals
(String desc, int pos, int count)
src/main/java/org/spongepowered/asm/mixin/injection/callback/CallbackInjector.java:804
↓ 3 callers
Method
table
Begin a new table with no header and adaptive column widths @return fluent interface
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:458
↓ 3 callers
Method
th
Print the current table header. The table header is automatically printed before the first row if not explicitly specified by calling this method. @r
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:540
↓ 3 callers
Method
toCtorType
Returns the <em>constructor type</em> represented by this selector
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelectorConstructor.java:35
↓ 3 callers
Method
toEnumValue
(Class<T> enumClass, String[] value)
src/main/java/org/spongepowered/asm/util/Annotations.java:792
↓ 3 callers
Method
toString
()
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingField.java:124
↓ 3 callers
Method
transformConstant
Transforms a constant in the constant pool. @param method Method being processed @param iter Insn interator @param constant Consatnt pool entry @retu
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:735
↓ 3 callers
Method
transformHandle
Transforms a method handle that is referenced from the method being processed. @param method Method being processed @param iter Insn interator @param
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:759
↓ 3 callers
Method
updateFormat
()
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:201
↓ 3 callers
Method
val
(int index)
src/main/java/org/spongepowered/asm/util/ConstraintParser.java:200
↓ 3 callers
Method
validateTargetMethod
Checks whether the specified method exists in all targets and raises warnings where appropriate
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandler.java:476
↓ 3 callers
Method
visitEnd
()
src/legacy/java/org/spongepowered/asm/lib/ClassVisitor.java:74
↓ 3 callers
Method
writeActivity
(String className, String... activity)
src/modlauncher/java/org/spongepowered/asm/service/modlauncher/ModLauncherAuditTrail.java:86
↓ 3 callers
Method
writeMappings
Write out generated mappings to the target environments
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationManager.java:65
↓ 3 callers
Method
writeReferences
Write out generated refmap
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationManager.java:70
↓ 2 callers
Method
addConfig
Add a config from a jar manifest source or the command line. Supports config declarations in the form <tt>filename.json</tt> or alternatively <tt>file
src/main/java/org/spongepowered/asm/launch/platform/MixinPlatformManager.java:260
↓ 2 callers
Method
addConfiguration
Add a mixin configuration resource @param configFile path to configuration resource
src/main/java/org/spongepowered/asm/mixin/Mixins.java:97
↓ 2 callers
Method
addFile
Add a file to this SourceMap in the default stratum @param classNode class node to read details from @return new File
src/main/java/org/spongepowered/asm/mixin/struct/SourceMap.java:236
↓ 2 callers
Method
addInjectionNode
Add an injection node to this target if it does not already exist, returns the existing node if it exists @param node Instruction node to add @return
src/main/java/org/spongepowered/asm/mixin/injection/code/InjectorTarget.java:106
↓ 2 callers
Method
addInterfaceMethodMapping
Searches for obfuscation mappings for the specified interface method and adds mappings to the output set if obfuscation mappings are found for the met
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandlerSoftImplements.java:150
↓ 2 callers
Method
addListener
Add a new listener @param listener listener to add
src/main/java/org/spongepowered/asm/mixin/transformer/MixinConfig.java:780
↓ 2 callers
Method
addLocalVariable
Add an entry to the target LVT @param index local variable index @param name local variable name @param desc local variable type
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:828
↓ 2 callers
Method
addMethod
(MethodNode method)
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:908
↓ 2 callers
Method
addMethodMapping
Adds a method mapping to the internal refmap @param className Mixin class name which owns the refmap entry @param reference Original reference, as it
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IReferenceManager.java:74
↓ 2 callers
Method
addMethodMappings
(String mcpName, String mcpSignature, ObfuscationData<MappingMethod> obfData)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandler.java:421
↓ 2 callers
Method
addMethodsRecursive
Recursive function used by {@link #getInterfaceMethods} to add all interface methods to the supplied set @param methods Method set to add to @param i
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1233
↓ 2 callers
Method
addMixin
Register the specified mixin against the specified target @param target Target class @param mixin Mixin class
src/ap/java/org/spongepowered/tools/obfuscation/TargetMap.java:109
↓ 2 callers
Method
addNestedContainers
(IContainerHandle handle)
src/main/java/org/spongepowered/asm/launch/platform/MixinPlatformManager.java:150
↓ 2 callers
Method
addTarget
(TypeHandle type)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixin.java:297
↓ 2 callers
Method
addUpgradedMethod
Add a method to this context which is private in the Mixin but has higher visibility in the target class. @param method method to add
src/main/java/org/spongepowered/asm/mixin/transformer/ClassContext.java:79
↓ 2 callers
Method
apply
Apply this range to the specified insn list @param insns insn list to filter @param inclusive whether to include or exclude instructions @return filt
src/main/java/org/spongepowered/asm/mixin/transformer/struct/InsnRange.java:114
↓ 2 callers
Method
applyLegacy
(Method method, String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo)
src/main/java/org/spongepowered/asm/mixin/transformer/PluginHandle.java:213
↓ 2 callers
Method
applyMixins
(MixinEnvironment environment, String name, ClassNode targetClassNode)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinProcessor.java:272
↓ 2 callers
Method
asBound
Return this token as a string representation of a bound
src/main/java/org/spongepowered/asm/util/ClassSignature.java:148
↓ 2 callers
Method
asFieldMapping
Returns this selector as a mapping field
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelectorRemappable.java:88
↓ 2 callers
Method
asMapping
(boolean includeOwner)
src/ap/java/org/spongepowered/tools/obfuscation/mirror/MethodHandle.java:91
↓ 2 callers
Method
attach
Attach this selector to the specified context. Should return this selector unmodified if all is well, or a new selector to be used for further process
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelector.java:217
← previous
next →
501–600 of 3,632, ranked by callers