mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 03:22:17 +00:00
Checkstyle fixes
This commit is contained in:
1 parent
b09b5b4c48
commit
dc84619013
2 files changed
+5
-4
No files matched your search
@@ -730,7 +730,8 @@ public class ClassInfo extends TreeInfo {
|
||||
* containing all methods for all interfaces implemented by this class and
|
||||
* all super interfaces of those interfaces.
|
||||
*
|
||||
* @param includeMixins Whether to include methods from mixins targeting this class info
|
||||
* @param includeMixins Whether to include methods from mixins targeting
|
||||
* this class info
|
||||
* @return read-only view of class methods
|
||||
*/
|
||||
public Set<Method> getInterfaceMethods(boolean includeMixins) {
|
||||
@@ -758,7 +759,8 @@ public class ClassInfo extends TreeInfo {
|
||||
* interface methods to the supplied set
|
||||
*
|
||||
* @param methods Method set to add to
|
||||
* @param includeMixins Whether to include methods from mixins targeting this class info
|
||||
* @param includeMixins Whether to include methods from mixins targeting
|
||||
* this class info
|
||||
* @return superclass reference, used to make the code above more fluent
|
||||
*/
|
||||
private ClassInfo addMethodsRecursive(Set<Method> methods, boolean includeMixins) {
|
||||
|
||||
@@ -373,9 +373,8 @@ public class MixinTargetContext implements IReferenceMapperContext {
|
||||
String desc = this.transformDescriptor(type);
|
||||
if (!type.toString().equals(desc)) {
|
||||
return Type.getType(desc);
|
||||
} else {
|
||||
return constant;
|
||||
}
|
||||
return constant;
|
||||
} else if (constant instanceof Handle) {
|
||||
return this.transformHandle(method, iter, (Handle)constant);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user