Jared
2513cf66ce
fix optionals not inheriting nullable and expecting a default type
преди 5 години
Stan Hebben
c3b948d8fe
Fixed support for optional parameters. Also implemented java integration for them.
преди 5 години
Stan Hebben
a86086cdec
Added native loader to resolve dependencies between native modules.
преди 5 години
Stan Hebben
d151b5ef99
Fix nullable types.
преди 5 години
Stan Hebben
5ea804b3d3
Fix method signatures containing only the short name instead of full class name.
преди 5 години
Stan Hebben
7844dea790
Removed unused files.
преди 5 години
kindlich
9494ef212e
Functional Wrappers, Bridge Methods, Type descriptor fix
Functional interface wrappers should work now
Implementing a method with a signature differing from the actual one (e.g. when dealing with generics) now creates a proper bridge method
The Java Bytecde compiler used an incorrect method in checkCast
We now no longer use hardcoded 'accept's as method names but whatever the context tells us to.
преди 5 години
kindlich
177b59341d
Merge remote-tracking branch 'Stan/development' into development
преди 5 години
Stan Hebben
00e09fc358
Fix modifiers on functional interfaces
преди 5 години
kindlich
b8be41d1a2
Formatted Functional Interface Wrapper creations
преди 5 години
kindlich
82eb1d61eb
Merge remote-tracking branch 'Stan/development' into WIP/functionalInterfaces
преди 5 години
Stan Hebben
5f9aac70c8
Added missing update to JavaNativeModule
преди 5 години
kindlich
c69b92718a
Merge remote-tracking branch 'Stan/development' into WIP/functionalInterfaces
преди 5 години
Stan Hebben
e909486bf3
Added utility method to retrieve the functional interface method from a type.
преди 5 години
kindlich
da4c6eb005
WIP Functional Wrapper
Currently only supports 'accepts' methods, until we can get a way to get the actual method signature/name from the class
преди 5 години
kindlich
33f3e6406a
Use IdentityHashMap for parameter Info
преди 5 години
kindlich
476e1b350a
Functional Interfaces Bytecode Step I
Directly using the lambda where the functional interface is requested works.
The lambda class will then directly implement the functionalInterface and not use a wrapper class
преди 6 години
Stan Hebben
70bd868af4
Added support for functional interfaces.
преди 6 години
Stan Hebben
9c650d0f5b
- Added correct type variable resolution
- Fixed a number of bugs
- Upgrading build system to a more uniform system
- Improving error output (for IDE)
- Changed parser to generate line offsets differently (easier for IDE to process)
преди 6 години
Stan Hebben
3f29d8bf0c
- Refactored usage of live objects in the IDE
- Save collapse state of the project browser tree
преди 6 години
Stan Hebben
da051f56ce
Update generated code
преди 6 години
Stan Hebben
54f53f79c1
- Improved interface validation: allow definition members to be used as implementation
- Added support for INTERFACE calls in java source code generation
- Minor source code generation quality improvements
преди 6 години
Stan Hebben
6d84156dfd
Merge remote-tracking branch 'kindlich/development' into development
преди 6 години
Stan Hebben
aab7cc69f1
- Continued implementation of interfaces in the bytecode compiler.
- Added support to have a native method both as operator and named method
преди 6 години
kindlich
75785f413f
Minor code reformat
преди 6 години
kindlich
8f019d721d
Now actually apply the typeParameters
преди 6 години
kindlich
d0e5b835c0
Now correctly check against Interface methods
преди 6 години
Stan Hebben
c19e68376b
- Fix arithmetic rules for floats
- Fix float suffixes on integers
преди 6 години
Stan Hebben
ae81e5966e
Added loadMethod utility method for loading in a Method and retrieving its reference.
преди 6 години
Stan Hebben
6fa2a38b30
Fix recursion when methods return or accept a value of their defining class. Fixed bracket expressions with a postfix expression.
преди 6 години
Stan Hebben
045d7f4cea
Fix array support for native java integration
преди 6 години
kindlich
f66a072428
Fix classloader call to super instead of parent
преди 6 години
kindlich
dfbc769f02
Added missing break statements to ASSOC_EQUALS
преди 6 години
kindlich
222c198437
Revert 4d5fc47bcb
преди 6 години
kindlich
26fae95605
Merge remote-tracking branch 'Stan/development' into development
преди 6 години
Stan Hebben
533bd04700
Fix field names for globals
преди 6 години
Stan Hebben
b434566f11
- Fix auto getters & setters for static fields not being static
- Fix getters for globals not having their corresponding fields registered correctly in the native implementation
- Added java sources for JavaScripting
преди 6 години
kindlich
4d5fc47bcb
Diry hack to use findLoadedClass on the parent loader
Lokking at you ForgeModLoader that needs to reinitialize about every class it comes across
преди 6 години
kindlich
94a48a0942
Added ScriptLoader parameter to ScriptingEngine#run
преди 6 години
kindlich
bfb0a33b27
Added classLoader parameter to JavaBytecodeRunUnit#run
преди 6 години
kindlich
d630af4178
ASSOC_[NOT]EQUALS
преди 6 години
Stan Hebben
b0895350cb
- Starting work on improving type parameter usage in generic methods
преди 6 години
Stan Hebben
ad57dc2d83
Added type parameters to method descriptors.
преди 6 години
kindlich
9708c58f69
Map.put with class, maybe
преди 6 години
kindlich
1c6c2bcf77
WIP: Possibly TryRethrow and panic Expressions
преди 6 години
kindlich
28c635f584
Expansion Getters/Setters, expansion static fields and Array contains
преди 6 години
Stan Hebben
7102642419
Fix float parsing.
преди 6 години
Stan Hebben
d9f32182f1
Fixed null comparison.
преди 6 години
Stan Hebben
6f2b5931dd
Added missing class.
преди 6 години
Stan Hebben
0d31f0cd9a
Added script parameter system. Also refactored SourceFile info, it's no longer a tag but available as field in ScriptBlock.
преди 6 години